diff options
author | Alex Grönholm <alex.gronholm@nextday.fi> | 2020-12-10 21:49:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 21:49:05 (GMT) |
commit | 67b769f5157c9dad1c7dd6b24e067b9fdab5b35d (patch) | |
tree | f7866a693a7fa42ce88f86d89159ce26c1adc361 /Misc | |
parent | a65828717982e6a56382d7aff738478f5b5b25d0 (diff) | |
download | cpython-67b769f5157c9dad1c7dd6b24e067b9fdab5b35d.zip cpython-67b769f5157c9dad1c7dd6b24e067b9fdab5b35d.tar.gz cpython-67b769f5157c9dad1c7dd6b24e067b9fdab5b35d.tar.bz2 |
bpo-42059: Fix required/optional keys for TypedDict(..., total=False) (GH-22736)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-10-17-12-42-08.bpo-42059.ZGMZ3D.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-10-17-12-42-08.bpo-42059.ZGMZ3D.rst b/Misc/NEWS.d/next/Library/2020-10-17-12-42-08.bpo-42059.ZGMZ3D.rst new file mode 100644 index 0000000..3f18824 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-10-17-12-42-08.bpo-42059.ZGMZ3D.rst @@ -0,0 +1 @@ +:class:`typing.TypedDict` types created using the alternative call-style syntax now correctly respect the ``total`` keyword argument when setting their ``__required_keys__`` and ``__optional_keys__`` class attributes. |