Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3380170

Browse files
committed
Merge with 3.2
2 parents 1eec53d + ec6e132 commit 3380170

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

Doc/library/os.path.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,11 @@ the :mod:`glob` module.)
219219

220220
.. function:: normpath(path)
221221

222-
Normalize a pathname. This collapses redundant separators and up-level
223-
references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all become
224-
``A/B``.
225-
226-
It does not normalize the case (use :func:`normcase` for that). On Windows, it
227-
converts forward slashes to backward slashes. It should be understood that this
228-
may change the meaning of the path if it contains symbolic links!
222+
Normalize a pathname by collapsing redundant separators and up-level
223+
references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all
224+
become ``A/B``. This string manipulation may change the meaning of a path
225+
that contains symbolic links. On Windows, it converts forward slashes to
226+
backward slashes. To normalize case, use :func:`normcase`.
229227

230228

231229
.. function:: realpath(path)

0 commit comments

Comments
 (0)