File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments