yaml :: representer :: BaseRepresenter :: classobj_type :: Class classobj_type
[hide private]
[frames] | no frames]

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.

Instance Methods [hide private]
 
__call__(x, ...)
x(...)
 
__delattr__(...)
x.__delattr__('name') <==> del x.name
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__repr__(x)
repr(x)
 
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
 
__str__(x)
str(x)

Inherited from object: __hash__, __init__, __reduce__, __reduce_ex__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__delattr__(...)

 

x.__delattr__('name') <==> del x.name

Overrides: object.__delattr__

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__repr__(x)
(Representation operator)

 

repr(x)

Overrides: object.__repr__

__setattr__(...)

 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__

__str__(x)
(Informal representation operator)

 

str(x)

Overrides: object.__str__