diff options
| author | Benjamin Peterson <benjamin@python.org> | 2014-03-20 12:39:53 -0500 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2014-03-20 12:39:53 -0500 |
| commit | 409a1be6cfe0acb79a6742c51c1d27efe5b6386b (patch) | |
| tree | 0e3922d6eac3b9fcb528a662b101e814c21f2959 | |
| parent | 2f31b4b57762154314beec3b91b4d4a600e17e61 (diff) | |
| download | cpython-git-409a1be6cfe0acb79a6742c51c1d27efe5b6386b.tar.gz | |
improve start default for relpath
| -rw-r--r-- | Doc/library/os.path.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst index 3771ab06f5..6b3a3b6491 100644 --- a/Doc/library/os.path.rst +++ b/Doc/library/os.path.rst @@ -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 |
