Home | History | Annotate | Download | only in test

Lines Matching refs:metaclass

525         # More metaclass examples
530 def __new__(metaclass, name, bases, dict):
531 cls = super(autosuper, metaclass).__new__(metaclass,
564 def __new__(metaclass, name, bases, dict):
579 return super(autoproperty, metaclass).__new__(metaclass,
641 # The most derived metaclass of D is A rather than type.
1364 self.fail("finding the most derived metaclass should have failed")
4458 for metaclass in [type, types.ClassType]:
4479 A = metaclass('A', (), {name: specialmethod})
4480 B = metaclass('B', (), {rname: specialmethod})
4499 C = metaclass('C', (), {iname: specialmethod})