[Python-checkins] cpython (2.7): Issue #17415: Clarify 'this' referent by moving containing sentence just after

terry.reedy python-checkins at python.org
Sun Mar 17 20:31:00 CET 2013


http://hg.python.org/cpython/rev/bceb81b0016e
changeset: 82713:bceb81b0016e
branch: 2.7
parent: 82696:c76c6fd48449
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Sun Mar 17 15:21:26 2013 -0400
summary:
 Issue #17415: Clarify 'this' referent by moving containing sentence just after
the sentence referred to. Make other minor edits to improve flow.
files:
 Doc/library/os.path.rst | 12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -219,13 +219,11 @@
 
 .. function:: normpath(path)
 
- Normalize a pathname. This collapses redundant separators and up-level
- references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all become
- ``A/B``.
-
- It does not normalize the case (use :func:`normcase` for that). On Windows, it
- converts forward slashes to backward slashes. It should be understood that this
- may change the meaning of the path if it contains symbolic links!
+ Normalize a pathname by collapsing redundant separators and up-level
+ references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all
+ become ``A/B``. This string manipulation may change the meaning of a path
+ that contains symbolic links. On Windows, it converts forward slashes to
+ backward slashes. To normalize case, use :func:`normcase`. 
 
 
 .. function:: realpath(path)
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /