Testing if a variable is an integer or a string; exceptions in __del__

Ben Gertzfield che at debian.org
Mon May 3 12:22:48 EDT 1999


>>>>> "Fredrik" == Fredrik Lundh <fredrik at pythonware.com> writes:

    Fredrik> here's one optimization you might wish to consider,
    Fredrik> though: use "int" instead of "string.atoi" (that'll save
    Fredrik> you 8 keystrokes!)

*chuckle* Thanks.

-- 
Brought to you by the letters P and X and the number 13.
"Do you wish to see our *surprising toys*? No! Do not!"
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/
I'm on FurryMUCK as Che, and EFNet/Open Projects IRC as Che_Fox.




More information about the Python-list mailing list