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

Unified Diff: Doc/library/os.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/library/os.path.rst ('k') | Doc/library/packaging.compiler.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/os.rst Tue Jul 26 09:37:46 2011 +0300
+++ b/Doc/library/os.rst Mon Jul 25 09:47:18 2011 -0400
@@ -61,13 +61,6 @@
names have currently been registered: ``'posix'``, ``'nt'``, ``'mac'``,
``'os2'``, ``'ce'``, ``'java'``.
- .. seealso::
- :attr:`sys.platform` has a finer granularity. :func:`os.uname` gives
- system-dependent version information.
-
- The :mod:`platform` module provides detailed checks for the
- system's identity.
-
.. _os-filenames:
@@ -1472,8 +1465,6 @@
* :data:`stat.UF_APPEND`
* :data:`stat.UF_OPAQUE`
* :data:`stat.UF_NOUNLINK`
- * :data:`stat.UF_COMPRESSED`
- * :data:`stat.UF_HIDDEN`
* :data:`stat.SF_ARCHIVED`
* :data:`stat.SF_IMMUTABLE`
* :data:`stat.SF_APPEND`
@@ -1833,12 +1824,11 @@
.. note::
- The exact meaning and resolution of the :attr:`st_atime`,
- :attr:`st_mtime`, and :attr:`st_ctime` attributes depend on the operating
- system and the file system. For example, on Windows systems using the FAT
- or FAT32 file systems, :attr:`st_mtime` has 2-second resolution, and
- :attr:`st_atime` has only 1-day resolution. See your operating system
- documentation for details.
+ The exact meaning and resolution of the :attr:`st_atime`, :attr:`st_mtime`, and
+ :attr:`st_ctime` members depends on the operating system and the file system.
+ For example, on Windows systems using the FAT or FAT32 file systems,
+ :attr:`st_mtime` has 2-second resolution, and :attr:`st_atime` has only 1-day
+ resolution. See your operating system documentation for details.
For backward compatibility, the return value of :func:`~os.stat` is also accessible
as a tuple of at least 10 integers giving the most important (and portable)
@@ -2095,9 +2085,8 @@
Generate a :const:`SIGABRT` signal to the current process. On Unix, the default
behavior is to produce a core dump; on Windows, the process immediately returns
- an exit code of ``3``. Be aware that calling this function will not call the
- Python signal handler registered for :const:`SIGABRT` with
- :func:`signal.signal`.
+ an exit code of ``3``. Be aware that programs which use :func:`signal.signal`
+ to register a handler for :const:`SIGABRT` will behave differently.
Availability: Unix, Windows.
@@ -2438,9 +2427,7 @@
os.spawnvpe(os.P_WAIT, 'cp', L, os.environ)
Availability: Unix, Windows. :func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp`
- and :func:`spawnvpe` are not available on Windows. :func:`spawnle` and
- :func:`spawnve` are not thread-safe on Windows; we advise you to use the
- :mod:`subprocess` module instead.
+ and :func:`spawnvpe` are not available on Windows.
.. data:: P_NOWAIT
« no previous file with comments | « Doc/library/os.path.rst ('k') | Doc/library/packaging.compiler.rst » ('j') | no next file with comments »

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