[Python-checkins] cpython (3.6): Issue #28324: Remove vestigal MacOS 9 references in os.py docstring.

ned.deily python-checkins at python.org
Sat Oct 1 21:34:02 EDT 2016


https://hg.python.org/cpython/rev/dbdcedf3583e
changeset:   104220:dbdcedf3583e
branch:      3.6
parent:      104218:2d8d9abb3bf8
user:        Ned Deily <nad at python.org>
date:        Sat Oct 01 21:12:35 2016 -0400
summary:
  Issue #28324: Remove vestigal MacOS 9 references in os.py docstring.
Patch by Chi Hsuan Yen.

files:
  Lib/os.py |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Lib/os.py b/Lib/os.py
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -4,9 +4,9 @@
   - all functions from posix or nt, e.g. unlink, stat, etc.
   - os.path is either posixpath or ntpath
   - os.name is either 'posix' or 'nt'
-  - os.curdir is a string representing the current directory ('.' or ':')
-  - os.pardir is a string representing the parent directory ('..' or '::')
-  - os.sep is the (or a most common) pathname separator ('/' or ':' or '\\')
+  - os.curdir is a string representing the current directory (always '.')
+  - os.pardir is a string representing the parent directory (always '..')
+  - os.sep is the (or a most common) pathname separator ('/' or '\\')
   - os.extsep is the extension separator (always '.')
   - os.altsep is the alternate pathname separator (None or '/')
   - os.pathsep is the component separator used in $PATH etc

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list