From 409a1be6cfe0acb79a6742c51c1d27efe5b6386b Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 20 Mar 2014 12:39:53 -0500 Subject: improve start default for relpath --- Doc/library/os.path.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12