bundles / IPython 9.10.0 / IPython / utils / ipstruct / Struct
class
IPython.utils.ipstruct:Struct
source: /IPython/utils/ipstruct.py :28
Signature
class Struct ( * args , ** kw ) Members
-
__add__ -
__dict_invert -
__getattr__ -
__iadd__ -
__init__ -
__isub__ -
__setattr__ -
__setitem__ -
__sub__ -
allow_new_attr -
copy -
dict -
hasattr -
merge
Summary
A dict subclass with attribute style access.
Extended Summary
This dict subclass has a a few extra features:
Attribute style access.
Protection of class members (like keys, items) when using attribute style access.
The ability to restrict assignment to only existing keys.
Intelligent merging.
Overloaded operators.
Aliases
-
IPython.core.interactiveshell.Struct