mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
improve start default for relpath
This commit is contained in:
parent
2f31b4b577
commit
409a1be6cf
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ the :mod:`glob` module.)
|
|||
links encountered in the path (if they are supported by the operating system).
|
||||
|
||||
|
||||
.. function:: relpath(path, start=None)
|
||||
.. function:: relpath(path, start=os.curdir)
|
||||
|
||||
Return a relative filepath to *path* either from the current directory or
|
||||
from an optional *start* directory. This is a path computation: the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue