From: Benjamin Peterson Date: Thu, 20 Mar 2014 17:39:53 +0000 (-0500) Subject: improve start default for relpath X-Git-Tag: v3.4.1rc1~209^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=409a1be6cfe0acb79a6742c51c1d27efe5b6386b;p=python improve start default for relpath --- 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