How to avoid "f.close" (no parens) bug?
Jeremy Fincher
tweedgeezer at hotmail.com
Wed Feb 11 20:32:20 EST 2004
"Batista, Facundo" <FBatista at uniFON.com.ar> wrote in message news:<mailman.1485.1076528381.12720.python-list at python.org>...
> #- In this example, we've used a method as a parameter.
>
> But you're using it in a function call! It's not alone!
>
> . Facundo
Are you suggesting that we special-case the parser for everything that
*might* be an error?
I really don't ever run into this problem myself, and of the many
people I've helped learn Python, it's not a bug that comes up often at
all. When it does, I say, "You have to call this function, not just
get it." and they say "Oh." and don't make that mistake again.
Jeremy
More information about the Python-list
mailing list