mirror of https://github.com/python/cpython.git
improve start default for relpath
This commit is contained in:
parent
2f31b4b577
commit
409a1be6cf
|
@ -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…
Reference in New Issue