yaml ::
representer ::
BaseRepresenter ::
classobj_type ::
Class classobj_type
|
|
Class classobj_type
object --+
|
yaml.representer.BaseRepresenter.classobj_type
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.
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
|
|
|
|
Inherited from object :
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__
|
Inherited from object :
__class__
|
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__
|