def _freeze(self):
    '\n        Prevents setting additional attributes.\n        '
    object.__setattr__(self, '__frozen', True)
Prevents setting additional attributes.
def _freeze(self):
    '\n        \n        '
    object.__setattr__(self, '__frozen', True)