Package commons :: Module structs :: Class free_struct
[hide private]
[frames] | no frames]

Class free_struct

source code

object --+
         |
        free_struct

General-purpose Python object with a bunch of boilerplate utility functionality built-in. Subclass-friendly.

Instance Methods [hide private]
 
__init__(self, d={}, **args)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__repr__(self, *args, **kw)
repr(x)
source code
 
__eq__(self, other) source code
 
__ne__(self, other) 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__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, d={}, **args)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self, *args, **kw)
(Representation operator)

source code 

repr(x)

Decorators:
  • @recursion_guard("<...>")
Overrides: object.__repr__
(inherited documentation)