summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.path.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-17 19:22:00 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-17 19:22:00 (GMT)
commit3380170ea5c29c8b823dcdf3c0f77f168f6998e4 (patch)
tree112bcebdcf92a1623fe68e750f04230d7f4162d6 /Doc/library/os.path.rst
parent1eec53d9baa97cb89f57facdc3b8a2953b07d19c (diff)
parentec6e132987f5d8595e0177686a4e986c4c9c06fd (diff)
downloadcpython-3380170ea5c29c8b823dcdf3c0f77f168f6998e4.zip
cpython-3380170ea5c29c8b823dcdf3c0f77f168f6998e4.tar.gz
cpython-3380170ea5c29c8b823dcdf3c0f77f168f6998e4.tar.bz2
Merge with 3.2
Diffstat (limited to 'Doc/library/os.path.rst')
-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 36a61a5..58366f2 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -219,13 +219,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)