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

Peter Hansen peter at engcorp.com
Thu Feb 12 15:33:19 EST 2004


Jarek Zgoda wrote:
> 
> Peter Hansen <peter at engcorp.com> pisze:
> 
> > Would I be write in guessing that you have used VisualBASIC a lot
> > in the past?  Or perhaps a similar language which allows the type
> > of function call you would expect with the first form above?
> 
> You call Pascal "similar to VB"?

Yes, in at least this once sense, obviously.  Clearly no other similarity
with VB is needed to suffice as a background for someone who makes such
a mistake "commonly", if my theory is correct.

-Peter



More information about the Python-list mailing list