the class statement class classname(base-classes)statement(sclassname is variable that gets (re)bound to the class object after the class statement finishes executing base-classes is comma separated series of expressions whose values must be classes if it does not existsthe created class is old-style if all base-classes are old-stylethe created class is old-style otherwise it is new-style class since every type subclasses built-in objectwe can use object to mark class as new-style when no true bases exist the statements ( the class bodydene the set of class attributes which will be shared by all instances of the class