You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Inconsistency between FunctionType and its __dict__fromtypesimportFunctionTypeasFunctionTypeprint(FunctionType.__dict__['__annotations__']) # <attribute '__annotations__' of 'function' objects>print(FunctionType.__annotations__) # AttributeError: type object 'function' has no attribute '__annotations__'