For review: PEP 308 - If-then-else expression
Andrew Dalke
adalke at mindspring.com
Sun Feb 9 23:06:28 EST 2003
Carlos Ribeiro:
> Then I wonder why do people think that the following snippet is pythonic
in
> any (reasonable) way:
>
> ','.join(lines)
>
> In what direction does it reads?
"Use a comma to join these lines"
Still confusing, but I understand the reasons why.
And in general, "obj.func(arg)" is "use this object to do this
function to these arguments."
Andrew
dalke at dalkescientific.com
More information about the Python-list
mailing list