def slots(names=''):
    "Sets the __slots__ variable in the calling context with private names."
    sys._getframe(1).f_locals['__slots__'] = \
        tuple('__' + name for name in names.replace(',', ' ').split())
Sets the __slots__ variable in the calling context with private names.
recipes/Python/578151_affinitypy/recipe-578151.py