Giampaolo Rodola' added the comment:

> 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.

Actually the Windows part is not completely true since on Windows
pathnames containing slashes ('/') are also permitted and treated as if
they were backslashes ('\\').

>>> os.path.isabs('/')
True
>>> os.path.isabs('C:/')
True
>>> os.path.isabs('C:\\/')
True

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1934>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to