summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-03-20 17:39:53 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-03-20 17:39:53 (GMT)
commit409a1be6cfe0acb79a6742c51c1d27efe5b6386b (patch)
tree0e3922d6eac3b9fcb528a662b101e814c21f2959 /Doc
parent2f31b4b57762154314beec3b91b4d4a600e17e61 (diff)
downloadcpython-409a1be6cfe0acb79a6742c51c1d27efe5b6386b.zip
cpython-409a1be6cfe0acb79a6742c51c1d27efe5b6386b.tar.gz
cpython-409a1be6cfe0acb79a6742c51c1d27efe5b6386b.tar.bz2
improve start default for relpath
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.path.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 3771ab0..6b3a3b6 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