Lines Matching refs:M2
499 class M2(object):
516 __metaclass__ = M2
773 class M2(D, object):
775 return "M2 a"
777 return "M2 b"
779 self.assertEqual(M2.__mro__, (M2, D, C, object))
780 m = M2()
783 self.assertEqual(m.m2method(), "M2 a")
784 self.assertEqual(m.all_method(), "M2 b")
786 class M3(M1, M2, object):
791 self.assertEqual(M3.__mro__, (M3, M1, M2, D, C, object))
796 self.assertEqual(m.m2method(), "M2 a")
1352 class M2(type):
1357 __metaclass__ = M2
2331 class M2(M):
2336 m2instance = M2("m2")