Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Python (http://www.domainnameforum.org/forumdisplay.php?f=138)
-   -   isinstance? (http://www.domainnameforum.org/showthread.php?t=118558)

Python 08-21-2010 04:53 AM

isinstance?
 
Why do people say isinstance is bad? If I have my own class, named Test, and if I want to check an variable to see if it is an instance of Test or Test's child classes, is using instance() bad?


All times are GMT -4. The time now is 10:34 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.