diff -r c5ef12cfcb44 -r aedfc206b1ca Doc/library/os.path.rst --- a/Doc/library/os.path.rst Thu Oct 07 13:06:49 2010 +0200 +++ b/Doc/library/os.path.rst Fri Oct 08 00:30:57 2010 +0200 @@ -268,14 +268,15 @@ .. function:: split(path) - Split the pathname *path* into a pair, ``(head, tail)`` where *tail* is the last - pathname component and *head* is everything leading up to that. The *tail* part - will never contain a slash; if *path* ends in a slash, *tail* will be empty. If - there is no slash in *path*, *head* will be empty. If *path* is empty, both - *head* and *tail* are empty. Trailing slashes are stripped from *head* unless - it is the root (one or more slashes only). In nearly all cases, ``join(head, - tail)`` equals *path* (the only exception being when there were multiple slashes - separating *head* from *tail*). + Split the pathname *path* into a pair, ``(head, tail)`` where *tail* is the + last pathname component and *head* is everything leading up to that. The + *tail* part will never contain a slash; if *path* ends in a slash, *tail* + will be empty. If there is no slash in *path*, *head* will be empty. If + *path* is empty, both *head* and *tail* are empty. Trailing slashes are + stripped from *head* unless it is the root (one or more slashes only). In + nearly all cases, ``join(head, tail)`` returns a location equivalent to + *path* (the only exception being when there were multiple slashes separating + *head* from *tail*). .. function:: splitdrive(path)