Skip to content

Commit

Permalink
Merge with 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
terryjreedy committed Mar 17, 2013
2 parents 2481899 + 3380170 commit a52c2d6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Doc/library/os.path.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a52c2d6

Please sign in to comment.