[Python-Dev] / as path join operator

Barry Warsaw barry at python.org
Thu Jan 26 05:25:03 CET 2006


On Thu, 2006-01-26 at 11:40 +1000, Nick Coghlan wrote:

> The main appeal to me of the division operation is that it allows multiple 
> path elements to be joined on a single line, but the joining method accepts an 
> arbitrary number of arguments, which helps with that just as much, and doesn't 
> raise precedence and readability questions.

Or the need to employ ugliness like backslashes when you have to split
the join across multiple lines.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20060125/c251763e/attachment.pgp 


More information about the Python-Dev mailing list