File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -214,13 +214,11 @@ the :mod:`glob` module.)
214
214
215
215
.. function :: normpath(path)
216
216
217
- Normalize a pathname. This collapses redundant separators and up-level
218
- references so that ``A//B ``, ``A/B/ ``, ``A/./B `` and ``A/foo/../B `` all become
219
- ``A/B ``.
220
-
221
- It does not normalize the case (use :func: `normcase ` for that). On Windows, it
222
- converts forward slashes to backward slashes. It should be understood that this
223
- may change the meaning of the path if it contains symbolic links!
217
+ Normalize a pathname by collapsing redundant separators and up-level
218
+ references so that ``A//B ``, ``A/B/ ``, ``A/./B `` and ``A/foo/../B `` all
219
+ become ``A/B ``. This string manipulation may change the meaning of a path
220
+ that contains symbolic links. On Windows, it converts forward slashes to
221
+ backward slashes. To normalize case, use :func: `normcase `.
224
222
225
223
226
224
.. function :: realpath(path)
You can’t perform that action at this time.
0 commit comments