General-purpose Python object with a bunch of boilerplate utility
functionality built-in. Subclass-friendly.
|
|
__init__(self,
d={},
**args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
__add__(self,
other)
Return a copy of this but with additional attributes corresponding to
the items or attributes from the other operand, depending on if it's
a dict or an object, respectively. |
source code
|
|
|
|
__radd__(self,
other)
Return a copy of this but with additional attributes corresponding to
the items or attributes from the other operand, depending on if it's
a dict or an object, respectively. |
source code
|
|
|
|
__sub__(self,
other)
Return a copy of this but with the specified attributes removed. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|