From: Ned Deily Date: Fri, 27 Jun 2014 06:38:14 +0000 (-0700) Subject: Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. X-Git-Tag: v2.7.8~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5937f39aee62d1ef68d6fec0f039d0d1f69ebb62;p=python Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index f67ca25153..32051c078f 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 876dcf3e3b..53fad6b664 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.