[Python-checkins] cpython (merge 3.4 -> default): Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.

ned.deily python-checkins at python.org
Fri Jun 27 08:43:16 CEST 2014


http://hg.python.org/cpython/rev/3124790c07b4
changeset:   91439:3124790c07b4
parent:      91436:738262a327af
parent:      91438:d130a04fa6a1
user:        Ned Deily <nad at acm.org>
date:        Thu Jun 26 23:42:38 2014 -0700
summary:
  Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.

files:
  Doc/library/os.rst |  8 +-------
  Lib/os.py          |  2 +-
  2 files changed, 2 insertions(+), 8 deletions(-)


diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -53,7 +53,7 @@
 .. data:: name
 
    The name of the operating system dependent module imported.  The following
-   names have currently been registered: ``'posix'``, ``'nt'``, ``'mac'``,
+   names have currently been registered: ``'posix'``, ``'nt'``,
    ``'ce'``, ``'java'``.
 
    .. seealso::
@@ -1899,12 +1899,6 @@
    * :attr:`st_gen` - file generation number
    * :attr:`st_birthtime` - time of file creation
 
-   On Mac OS systems, the following attributes may also be available:
-
-   * :attr:`st_rsize`
-   * :attr:`st_creator`
-   * :attr:`st_type`
-
    On Windows systems, the following attribute is also available:
 
    * :attr:`st_file_attributes` - Windows file attribute bits (see the
diff --git a/Lib/os.py b/Lib/os.py
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -1,4 +1,4 @@
-r"""OS routines for Mac, NT, or Posix depending on what system we're on.
+r"""OS routines for NT or Posix depending on what system we're on.
 
 This exports:
   - all functions from posix, nt or ce, e.g. unlink, stat, etc.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list