Bad docs for os.path.isabs()

Jeremy Fincher tweedgeezer at hotmail.com
Mon Nov 10 11:26:35 CET 2003


"Ben Allfree" <benles at bldigital.com> wrote in message news:<dDwrb.25620$L77.17754 at fed1read03>...
> The docs for os.path.isabs() state:
> 
>       isabs( path)
> 
> Return True if path is an absolute pathname (begins with a slash).
> 
> This is false becase os.path.isabs("C:\\foo") == True
> 
> It should read:
> 
>       isabs( path)
> 
> Return True if path is an absolute pathname (begins with a slash or drive
> letter).

Since no one's mentioned it yet, this is something you should file as
a bug on SF.net.

Jeremy




More information about the Python-list mailing list