Lines Matching refs:__annotations__
1888 _SPECIAL_NAMES = ['__abstractmethods__', '__annotations__', '__dict__', '__doc__',
1906 annotations = getattr(base, '__annotations__', {})
2072 annotations = getattr(base, '__annotations__', {})
2281 This is often the same as obj.__annotations__, but it handles
2319 ann = base.__dict__.get('__annotations__', {})
2353 hints = getattr(obj, '__annotations__', None)
2845 nm_tpl.__annotations__ = nm_tpl.__new__.__annotations__ = types
2854 _special = frozenset({'__module__', '__name__', '__annotations__'})
2865 types = ns.get('__annotations__', {})
2906 The resulting class has an extra __annotations__ attribute, giving a
2951 own_annotations = ns.get('__annotations__', {})
2961 annotations.update(base.__dict__.get('__annotations__', {}))
2983 tp_dict.__annotations__ = annotations
3019 The type info can be accessed via the Point2D.__annotations__ dict, and
3060 ns = {'__annotations__': dict(fields)}