Searched refs:add_metaclass (Results 1 – 9 of 9) sorted by relevance
734 X = six.add_metaclass(Meta)(X)743 X = six.add_metaclass(Meta)(X)750 X = six.add_metaclass(Meta)(X)762 Base = six.add_metaclass(Meta1)(Base)765 X = six.add_metaclass(Meta2)(X)779 MySlots = six.add_metaclass(Meta1)(MySlots)789 MyStringSlots = six.add_metaclass(Meta1)(MyStringSlots)798 MySlotsWeakref = six.add_metaclass(Meta)(MySlotsWeakref)
38 - Issue #88: Fix add_metaclass when the class has `__slots__` containing81 - Pull request #35: Improve add_metaclass, so that it doesn't end up inserting136 - Issue #47: Fix add_metaclass on classes with a string for the __slots__163 - Pull request #12: Add six.add_metaclass, a decorator for adding a metaclass to
782 def add_metaclass(metaclass): function
768 X = six.add_metaclass(Meta)(X)777 X = six.add_metaclass(Meta)(X)784 X = six.add_metaclass(Meta)(X)796 Base = six.add_metaclass(Meta1)(Base)799 X = six.add_metaclass(Meta2)(X)813 MySlots = six.add_metaclass(Meta1)(MySlots)823 MyStringSlots = six.add_metaclass(Meta1)(MyStringSlots)832 MySlotsWeakref = six.add_metaclass(Meta)(MySlotsWeakref)
54 - Issue #88: Fix add_metaclass when the class has `__slots__` containing97 - Pull request #35: Improve add_metaclass, so that it doesn't end up inserting152 - Issue #47: Fix add_metaclass on classes with a string for the __slots__179 - Pull request #12: Add six.add_metaclass, a decorator for adding a metaclass to
812 def add_metaclass(metaclass): function
320 Another way to set a metaclass on a class is with the :func:`add_metaclass`324 .. decorator:: add_metaclass(metaclass)329 @add_metaclass(Meta)350 MyClass = add_metaclass(Meta)(MyClass)
327 Another way to set a metaclass on a class is with the :func:`add_metaclass`331 .. decorator:: add_metaclass(metaclass)336 @add_metaclass(Meta)357 MyClass = add_metaclass(Meta)(MyClass)
717 def add_metaclass(metaclass): function