Commit 4f0102f1 authored by R David Murray's avatar R David Murray

#18389: Clarify that relpath does not access the file system.

Initial patch by Madison May.
parent fab65428
......@@ -236,8 +236,10 @@ the :mod:`glob` module.)
.. function:: relpath(path[, start])
Return a relative filepath to *path* either from the current directory or from
an optional *start* point.
Return a relative filepath to *path* either from the current directory or
from an optional *start* directory. This is a path computation: the
filesystem is not accessed to confirm the existence or nature of *path* or
*start*.
*start* defaults to :attr:`os.curdir`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment