Lines Matching refs:__dict__
37 # entry in the class's __dict__. I never check to see if an attribute
58 # | no | yes | <--- class has __init__ in __dict__?
70 # | no | yes | <--- class has __repr__ in __dict__?
84 # | no | yes | <--- class has __setattr__ or __delattr__ in __dict__?
98 # | no | yes | <--- class has __eq__ in __dict__?
113 # | no | yes | <--- class has any comparison method in __dict__?
162 # | no | yes | <--- class has __match_args__ in __dict__?
712 ns = sys.modules.get(cls.__module__).__dict__
716 if module and module.__dict__.get(module_name) is a_module:
717 ns = sys.modules.get(a_type.__module__).__dict__
830 if name in cls.__dict__:
893 globals = sys.modules[cls.__module__].__dict__
934 cls_annotations = cls.__dict__.get('__annotations__', {})
980 for name, value in cls.__dict__.items():
1005 class_hash = cls.__dict__.get('__hash__', MISSING)
1007 (class_hash is None and '__eq__' in cls.__dict__))
1134 match cls.__dict__.get('__slots__'):
1152 if '__slots__' in cls.__dict__:
1156 cls_dict = dict(cls.__dict__)
1180 # Remove __dict__ itself.
1181 cls_dict.pop('__dict__', None)