diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-09-17 19:41:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-17 19:41:55 (GMT) |
commit | 8fc5839a9def34c13b6025c291434ba5fb5d6442 (patch) | |
tree | 8a60e3596333f581d1384a8205c08454c45f4e88 /Misc | |
parent | 2bf31ccab3d17f3f35b42dca97f99576dfe2fc7d (diff) | |
download | cpython-8fc5839a9def34c13b6025c291434ba5fb5d6442.zip cpython-8fc5839a9def34c13b6025c291434ba5fb5d6442.tar.gz cpython-8fc5839a9def34c13b6025c291434ba5fb5d6442.tar.bz2 |
bpo-38191: Turn warnings into errors in NamedTuple() and TypedDict(). (GH-16238)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-09-17-12-28-27.bpo-38191.1TU0HV.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-09-17-12-28-27.bpo-38191.1TU0HV.rst b/Misc/NEWS.d/next/Library/2019-09-17-12-28-27.bpo-38191.1TU0HV.rst index 1a6de60..05c7daa 100644 --- a/Misc/NEWS.d/next/Library/2019-09-17-12-28-27.bpo-38191.1TU0HV.rst +++ b/Misc/NEWS.d/next/Library/2019-09-17-12-28-27.bpo-38191.1TU0HV.rst @@ -1,4 +1,3 @@ Constructors of :class:`~typing.NamedTuple` and :class:`~typing.TypedDict` types now accept arbitrary keyword argument names, including "cls", "self", -"typename", "_typename", "fields" and "_fields". Passing positional -arguments by keyword is deprecated. +"typename", "_typename", "fields" and "_fields". |