bundles / IPython 9.10.0 / IPython / utils / ipstruct / Struct / allow_new_attr
function
IPython.utils.ipstruct:Struct.allow_new_attr
source: /IPython/utils/ipstruct.py :255
Signature
def allow_new_attr ( self , allow = True ) Summary
Set whether new attributes can be created in this Struct.
Extended Summary
This can be used to catch typos by verifying that the attribute user tries to change already exists in this Struct.
Aliases
-
IPython.core.interactiveshell.Struct.allow_new_attr