Rob Cliffe via Python-Dev wrote:

Also, the former is simply more *informative* - it tells the reader that baz is expected to be a directory, not a file.

On Windows you can usually tell that from the fact that filenames
almost always have an extension, and directory names almost never
do.

--
Greg
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/F4Y4HNU72QOVWHCGLD74N7ZTAEJP2XBF/

Reply via email to