From 5937f39aee62d1ef68d6fec0f039d0d1f69ebb62 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Thu, 26 Jun 2014 23:38:14 -0700 Subject: [PATCH] Issue #21875: Remove vestigial references to Classic Mac OS in os module docs. --- 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 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. -- 2.50.1