How to avoid "f.close" (no parens) bug?

Terry Reedy tjreedy at udel.edu
Wed Feb 11 11:26:42 EST 2004


"Batista, Facundo" <FBatista at uniFON.com.ar> wrote in message
news:A128D751272CD411BC9200508BC2194D033835E1 at escpl.tcp.com.ar...
> Why "appears"?
>
> There is any case when f.close, or bar or something like "not a call to a
> function (there is no ')'), with no '=' at the left or at the right" has
any
> effect?

If the code is pasted into an interactive interpreter window, the bare
expressions get printed.

tjr







More information about the Python-list mailing list