[Python-checkins] cpython (3.4): 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:15 CEST 2014


http://hg.python.org/cpython/rev/d130a04fa6a1
changeset: 91438:d130a04fa6a1
branch: 3.4
parent: 91435:92521be371c5
user: Ned Deily <nad at acm.org>
date: Thu Jun 26 23:40:06 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::
@@ -1891,12 +1891,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`
-
 .. note::
 
 The exact meaning and resolution of the :attr:`st_atime`,
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

AltStyle によって変換されたページ (->オリジナル) /