__bases__ Class Attribute : Subclass : Class PYTHON TUTORIALS


PYTHON TUTORIALS » Class » Subclass »

 

__bases__ Class Attribute


class A(object): pass  
    
class B(A): pass       
    
class C(B): pass       
    
print A.__bases__
print C.__bases__



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Class
» Subclass