From: Georg Brandl Date: Sat, 26 Jan 2008 09:43:35 +0000 (+0000) Subject: #1934: fix os.path.isabs docs. X-Git-Tag: v2.6a1~396 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe7dd50907de918f148c339295aa788ba7895fb3;p=python #1934: fix os.path.isabs docs. --- diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst index 125044d82a..05eed8a2b8 100644 --- a/Doc/library/os.path.rst +++ b/Doc/library/os.path.rst @@ -144,7 +144,9 @@ write files see :func:`open`, and for accessing the filesystem see the .. function:: isabs(path) - Return ``True`` if *path* is an absolute pathname (begins with a slash). + Return ``True`` if *path* is an absolute pathname. On Unix, that means it + begins with a slash, on Windows that it begins with a backslash after chopping + off a potential drive letter. .. function:: isfile(path)