This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gaborjbernat
Recipients gaborjbernat
Date 2020-10-08.06:26:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602138406.98.0.272652370144.issue41973@roundup.psfhosted.org>
In-reply-to
Content
❯ py -3.8 -c 'from typing import TypedDict; print(type(TypedDict))'
<class 'typing._TypedDictMeta'>

❯ py -3.9 -c 'from typing import TypedDict; print(type(TypedDict))'
<class 'function'>

Python 3.9 changed the type of the TypedDict but the documentation still says it's a class - see https://docs.python.org/3.9/library/typing.html#typing.TypedDict. I must also say I'm suprised you can inherit from a function, but we should update the documentation to reflect that the type of the element in question is no longer class.
History
Date User Action Args
2020-10-08 06:26:47gaborjbernatsetrecipients: + gaborjbernat
2020-10-08 06:26:46gaborjbernatsetmessageid: <1602138406.98.0.272652370144.issue41973@roundup.psfhosted.org>
2020-10-08 06:26:46gaborjbernatlinkissue41973 messages
2020-10-08 06:26:46gaborjbernatcreate