Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Labels
Description
These lines:
ifnothasattr(tp_dict,'__total__'):tp_dict.__total__=total
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.