gett error message: "TypeError: 'int' object is not callable"
Friðrik Már Jónsson
fridrik at pyth.net
Thu Jul 9 14:57:47 EDT 2009
Hi Rhodri,
> It's only really a pitfall if you try to use the built-in after you've
> redefined it. That's the thing to keep an eye open for.
You're right, but in cases where you're editing a codebase which you
didn't author entirely by yourself you may not be aware of that.
That said, if the codebase you're working on is structured (short,
concise methods) you should be working with small, consumable scopes
you can inhale in entirety before modifying.
Regards,
Friðrik Már
More information about the Python-list
mailing list