_______________________________________________Is this the expected behavior?Python 3.9.0 (default, Oct 7 2020, 23:09:01)[GCC 10.2.0] on linuxType "help", "copyright", "credits" or "license" for more information.>>> import typing>>> TD = typing.TypedDict("TD", {"a": str}, total=False)>>> TD.__total__False>>> TD.__required_keys__frozenset({'a'})>>> TD.__optional_keys__frozenset()>>>It seems to me "a" should not be a required key, but in fact an optional key.
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-leave@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/6NEXFZIEFGKACLP6BUTJVWJ4ARXUHMKB/
Code of Conduct: http://python.org/psf/codeofconduct/