Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to tell if a class is descended from another class

>>> class test(object):pass
...
>>> issubclass(test,object)
True
Source by pythonhowto.org #
 
PREVIOUS NEXT
Tagged: #How #class #descended #class
ADD COMMENT
Topic
Name
9+9 =