Python syntax wart

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sun Sep 9 08:49:12 CEST 2007


In message <46E390B7.2080808 at web.de>, Stefan Behnel wrote:

> He means he has to use backslashes instead of parentheses here.
> 
> Which is not true, you could easily rephrase this as:
> 
>     for link in GetEachRecord(
>              "links",
>              ....):
>         out.write(
>              ....
>              )
> 
> See? No backslash!

But then you can no longer use indentation to display the two-dimensional
structure of the statement.



More information about the Python-list mailing list