Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18)

Side by Side Diff: Doc/library/platform.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Doc/library/packaging.rst ('k') | Doc/library/pyclbr.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 :mod:`platform` --- Access to underlying platform's identifying data 1 :mod:`platform` --- Access to underlying platform's identifying data
2 ===================================================================== 2 =====================================================================
3 3
4 .. module:: platform 4 .. module:: platform
5 :synopsis: Retrieves as much platform identifying data as possible. 5 :synopsis: Retrieves as much platform identifying data as possible.
6 .. moduleauthor:: Marc-Andre Lemburg <mal@egenix.com> 6 .. moduleauthor:: Marc-Andre Lemburg <mal@egenix.com>
7 .. sectionauthor:: Bjorn Pettersen <bpettersen@corp.fairisaac.com> 7 .. sectionauthor:: Bjorn Pettersen <bpettersen@corp.fairisaac.com>
8 8
9 **Source code:** :source:`Lib/platform.py` 9 **Source code:** :source:`Lib/platform.py`
10 10
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 225
226 .. function:: mac_ver(release='', versioninfo=('','',''), machine='') 226 .. function:: mac_ver(release='', versioninfo=('','',''), machine='')
227 227
228 Get Mac OS version information and return it as tuple ``(release, versioninfo , 228 Get Mac OS version information and return it as tuple ``(release, versioninfo ,
229 machine)`` with *versioninfo* being a tuple ``(version, dev_stage, 229 machine)`` with *versioninfo* being a tuple ``(version, dev_stage,
230 non_release_version)``. 230 non_release_version)``.
231 231
232 Entries which cannot be determined are set to ``''``. All tuple entries are 232 Entries which cannot be determined are set to ``''``. All tuple entries are
233 strings. 233 strings.
234
235 Documentation for the underlying :c:func:`gestalt` API is available online at
236 http://www.rgaros.nl/gestalt/.
234 237
235 238
236 Unix Platforms 239 Unix Platforms
237 -------------- 240 --------------
238 241
239 242
240 .. function:: dist(distname='', version='', id='', supported_dists=('SuSE','debi an','redhat','mandrake',...)) 243 .. function:: dist(distname='', version='', id='', supported_dists=('SuSE','debi an','redhat','mandrake',...))
241 244
242 This is another name for :func:`linux_distribution`. 245 This is another name for :func:`linux_distribution`.
243 246
(...skipping 18 matching lines...) Expand all
262 Tries to determine the libc version against which the file executable (defaul ts 265 Tries to determine the libc version against which the file executable (defaul ts
263 to the Python interpreter) is linked. Returns a tuple of strings ``(lib, 266 to the Python interpreter) is linked. Returns a tuple of strings ``(lib,
264 version)`` which default to the given parameters in case the lookup fails. 267 version)`` which default to the given parameters in case the lookup fails.
265 268
266 Note that this function has intimate knowledge of how different libc versions 269 Note that this function has intimate knowledge of how different libc versions
267 add symbols to the executable is probably only usable for executables compile d 270 add symbols to the executable is probably only usable for executables compile d
268 using :program:`gcc`. 271 using :program:`gcc`.
269 272
270 The file is read and scanned in chunks of *chunksize* bytes. 273 The file is read and scanned in chunks of *chunksize* bytes.
271 274
OLDNEW
« no previous file with comments | « Doc/library/packaging.rst ('k') | Doc/library/pyclbr.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+