summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.path.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-17 19:25:12 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-17 19:25:12 (GMT)
commita52c2d6d2fc4e8f598b1614540df7c05c57aa4cb (patch)
treec04f297613a7bd6b6d590a3a931c03dd8e8e30a7 /Doc/library/os.path.rst
parent2481899acd63a0f041ccc397f9af5dd691384ed9 (diff)
parent3380170ea5c29c8b823dcdf3c0f77f168f6998e4 (diff)
downloadcpython-a52c2d6d2fc4e8f598b1614540df7c05c57aa4cb.zip
cpython-a52c2d6d2fc4e8f598b1614540df7c05c57aa4cb.tar.gz
cpython-a52c2d6d2fc4e8f598b1614540df7c05c57aa4cb.tar.bz2
Merge with 3.3
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 0f63849..071ba1f 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -218,13 +218,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)