types ::
ClassType ::
Class ClassType
|
|
Class ClassType
object --+
|
types.ClassType
classobj(name, bases, dict)
Create a class object. The name must be a string; the second argument
a tuple of classes, and the third a dictionary.
x.__delattr__('name') <==> del x.name
- Overrides:
object.__delattr__
|
x.__getattribute__('name') <==> x.name
- Overrides:
object.__getattribute__
|
- Returns: a new object with type S, a subtype of T
- Overrides:
object.__new__
|
__repr__(x)
(Representation operator)
|
|
repr(x)
- Overrides:
object.__repr__
|
x.__setattr__('name', value) <==> x.name = value
- Overrides:
object.__setattr__
|
__str__(x)
(Informal representation operator)
|
|
str(x)
- Overrides:
object.__str__
|