type function used for class : Type « Language Basics « Python






type function used for class

type function used for class

class Classic: pass
class Newstyle(object): pass

print type(Classic)                 

print type(Newstyle)                

           
       








Related examples in the same category

1.The type FunctionThe type Function