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

Skip to content

Commit a52c2d6

Browse files
committed
Merge with 3.3
2 parents 2481899 + 3380170 commit a52c2d6

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
@@ -218,13 +218,11 @@ the :mod:`glob` module.)
218218

219219
.. function:: normpath(path)
220220

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

229227

230228
.. function:: realpath(path)

0 commit comments

Comments
 (0)