cpython: ff9636af9505 (original) (raw)
Mercurial > cpython
changeset 82711:ff9636af9505 3.2
Issue #17415: Clarify 'this' referent by moving containing sentence just after the sentence referred to. Make other minor edits to improve flow. [#17415]
Terry Jan Reedy tjreedy@udel.edu | |
---|---|
date | Sun, 17 Mar 2013 15:21:26 -0400 |
parents | 6951d7b8d3ad |
children | 4045413a9ab4 5b5a9bceb228 |
files | Doc/library/os.path.rst |
diffstat | 1 files changed, 5 insertions(+), 7 deletions(-)[+] [-] Doc/library/os.path.rst 12 |
line wrap: on
line diff
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -214,13 +214,11 @@ the :mod:glob
module.)
.. function:: normpath(path)
- Normalize a pathname. This collapses redundant separators and up-level
- references so that
A//B
,A/B/
,A/./B
andA/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
andA/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
.