summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-06-27 06:38:14 (GMT)
committerNed Deily <nad@acm.org>2014-06-27 06:38:14 (GMT)
commit5937f39aee62d1ef68d6fec0f039d0d1f69ebb62 (patch)
tree5ce406068909059eaf7214fd90b65b3917bc7550
parentdf71dcbef212d0800c428532872d32727c58776b (diff)
downloadcpython-5937f39aee62d1ef68d6fec0f039d0d1f69ebb62.zip
cpython-5937f39aee62d1ef68d6fec0f039d0d1f69ebb62.tar.gz
cpython-5937f39aee62d1ef68d6fec0f039d0d1f69ebb62.tar.bz2
Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.
-rw-r--r--Doc/library/os.rst11
-rw-r--r--Lib/os.py2
2 files changed, 3 insertions, 10 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index f67ca25..32051c0 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1382,9 +1382,8 @@ Files and Directories
.. versionchanged:: 2.3
If :func:`stat_float_times` returns ``True``, the time values are floats, measuring
- seconds. Fractions of a second may be reported if the system supports that. On
- Mac OS, the times are always floats. See :func:`stat_float_times` for further
- discussion.
+ seconds. Fractions of a second may be reported if the system supports that.
+ See :func:`stat_float_times` for further discussion.
On some Unix systems (such as Linux), the following attributes may also be
available:
@@ -1400,12 +1399,6 @@ Files and Directories
* :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 RISCOS systems, the following attributes are also available:
* :attr:`st_ftype` (file type)
diff --git a/Lib/os.py b/Lib/os.py
index 876dcf3..53fad6b 100644
--- 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, os2, or ce, e.g. unlink, stat, etc.