Home | History | Annotate | Download | only in test

Lines Matching refs:metaclass

533         # More metaclass examples
538 def __new__(metaclass, name, bases, dict):
539 cls = super(autosuper, metaclass).__new__(metaclass,
572 def __new__(metaclass, name, bases, dict):
587 return super(autoproperty, metaclass).__new__(metaclass,
649 # The most derived metaclass of D is A rather than type.
1373 self.fail("finding the most derived metaclass should have failed")
4511 for metaclass in [type, types.ClassType]:
4532 A = metaclass('A', (), {name: specialmethod})
4533 B = metaclass('B', (), {rname: specialmethod})
4552 C = metaclass('C', (), {iname: specialmethod})