cpython (2.7): Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.
http://hg.python.org/cpython/rev/94f7cdab9f71 changeset: 91437:94f7cdab9f71 branch: 2.7 parent: 91434:aa4b4487c7ad user: Ned Deily <nad@acm.org> date: Thu Jun 26 23:38:14 2014 -0700 summary: Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. files: Doc/library/os.rst | 11 ++--------- Lib/os.py | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/Doc/library/os.rst b/Doc/library/os.rst --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1382,9 +1382,8 @@ .. 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 @@ * :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 --- 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. -- Repository URL: http://hg.python.org/cpython
participants (1)
-
ned.deily