Searched refs:MyComplex (Results 1 – 5 of 5) sorted by relevance
141 class MyComplex(object): class199 self.assertEqual(f(MyComplex(cx_arg)), f(cx_arg))217 self.assertRaises(TypeError, f, MyComplex(bad_complex))
1654 class MyComplex(complex): class1673 MyComplex,
195 class MyComplex(object): class250 self.assertEqual(f(MyComplex(cx_arg)), f(cx_arg))268 self.assertRaises(TypeError, f, MyComplex(bad_complex))
3070 class MyComplex(complex): class3095 MyComplex,
1069 class MyComplex(complex): class1072 (1 + 2j).__class__ = MyComplex