Comparing variable types

John J. Lee jjl at pobox.com
Sun Oct 26 14:54:23 CET 2003


"Kill Bill" <bill at kill.com> writes:
> "KefX" <keflimarcusx at aol.comNOSPAM> wrote in message
> news:20031025224446.20009.00000076 at mb-m07.aol.com...
[...]
> > Use isinstance(), like this:
[...]
> Can you tell me where you found that method in the docs?  I'm having trouble
[...]

Rule of thumb: If you can't find it, it's in section 2 of the library docs.


John




More information about the Python-list mailing list