summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-17 19:21:26 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-17 19:21:26 (GMT)
commitec6e132987f5d8595e0177686a4e986c4c9c06fd (patch)
treeef56cbca6149d99c75a1b20601c550400115c140 /Doc
parenta99dfd1ab6c3aa9b5a45556e799989f42ac9b7f6 (diff)
downloadcpython-ec6e132987f5d8595e0177686a4e986c4c9c06fd.zip
cpython-ec6e132987f5d8595e0177686a4e986c4c9c06fd.tar.gz
cpython-ec6e132987f5d8595e0177686a4e986c4c9c06fd.tar.bz2
Issue #17415: Clarify 'this' referent by moving containing sentence just after
the sentence referred to. Make other minor edits to improve flow.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.path.rst12
1 files changed, 5 insertions, 7 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 35d5e16..7a17d23 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -214,13 +214,11 @@ the :mod:`glob` module.)
.. function:: normpath(path)
- Normalize a pathname. This collapses redundant separators and up-level
- references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all become
- ``A/B``.
-
- It does not normalize the case (use :func:`normcase` for that). On Windows, it
- converts forward slashes to backward slashes. It should be understood that this
- may change the meaning of the path if it contains symbolic links!
+ Normalize a pathname by collapsing redundant separators and up-level
+ references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all
+ become ``A/B``. This string manipulation may change the meaning of a path
+ that contains symbolic links. On Windows, it converts forward slashes to
+ backward slashes. To normalize case, use :func:`normcase`.
.. function:: realpath(path)