Lines Matching refs:__dict__
109 mappingproxy = type(type.__dict__)
991 dicts.append(a.__dict__)
1088 self.assertTrue(_testcapi.dict_hassplittable(a.__dict__))
1091 a.__dict__.pop('a')
1092 self.assertFalse(_testcapi.dict_hassplittable(a.__dict__))
1096 self.assertFalse(_testcapi.dict_hassplittable(a.__dict__))
1101 self.assertTrue(_testcapi.dict_hassplittable(a.__dict__))
1102 a.__dict__.popitem()
1103 self.assertFalse(_testcapi.dict_hassplittable(a.__dict__))
1105 self.assertFalse(_testcapi.dict_hassplittable(a.__dict__))
1227 self.assertEqual(f.msg, f.__dict__[_str('msg')])
1232 f.__dict__[1] = 1
1234 self.assertEqual(f.__dict__, {1:1, 'a':'a'})
1255 d.update(self.__dict__)
1421 self.assertEqual(list(reversed(A(1, 2).__dict__)), ['y', 'x'])
1422 self.assertEqual(list(reversed(A(1, 0).__dict__)), ['x'])
1423 self.assertEqual(list(reversed(A(0, 1).__dict__)), ['y'])