def allow_new_attr(self, allow = True):
        object.__setattr__(self, '_allownew', allow)
Set whether new attributes can be created in this Struct.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/ipstruct.py/Struct.allow_new_attr