Comparing variable types

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

"Kill Bill" <bill at> writes:
> "KefX" <keflimarcusx at aol.comNOSPAM> wrote in message
> news:20031025224446.20009.00000076 at
> > 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.


More information about the Python-list mailing list