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
go out of their way to account for the case there a TypedDict already has a __total__ attribute. But I don't think there is any way for the TypedDict to have that attribute at this point. For clarity, we should remove the check.
These lines:
https://github.com/python/cpython/blob/412f5e85d6b9f2e90c57c54539d06c7a025a472a/Lib/typing.py#L2889-2890
go out of their way to account for the case there a TypedDict already has a
__total__
attribute. But I don't think there is any way for the TypedDict to have that attribute at this point. For clarity, we should remove the check.Linked PRs
The text was updated successfully, but these errors were encountered: