Skip to content

Commit ec6e132

Browse files
committed
Issue #17415: Clarify 'this' referent by moving containing sentence just after
the sentence referred to. Make other minor edits to improve flow.
1 parent a99dfd1 commit ec6e132

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Doc/library/os.path.rst

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

215215
.. function:: normpath(path)
216216

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`.
224222

225223

226224
.. function:: realpath(path)

0 commit comments

Comments
 (0)