Type hierarchy

Pedro Werneck pedro.werneck at bol.com.br
Fri Jun 13 16:05:06 EDT 2003


> needs isinstance(o, int) or isinstance(o, long), or float... although

Maybe I'm wrong, but can't you use isinstance(o, (int, long, float)), for instance ?

And the benefits of such changes would be greater than the effort to do it ?




More information about the Python-list mailing list