Skip to content

[3.7] bpo-38191: Accept arbitrary keyword names in NamedTuple(). (GH-16222)#16239

Merged
serhiy-storchaka merged 1 commit into
python:3.7from
serhiy-storchaka:backport-2bf31cc-3.7
Sep 17, 2019
Merged

[3.7] bpo-38191: Accept arbitrary keyword names in NamedTuple(). (GH-16222)#16239
serhiy-storchaka merged 1 commit into
python:3.7from
serhiy-storchaka:backport-2bf31cc-3.7

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Sep 17, 2019

Copy link
Copy Markdown
Member

This includes such names as "cls", "self", "typename" and "fields".
(cherry picked from commit 2bf31cc)

https://bugs.python.org/issue38191

…ypedDict(). (pythonGH-16222)

This includes such names as "cls", "self", "typename", "_typename",
"fields" and "_fields".
Passing positional arguments by keyword is deprecated..
(cherry picked from commit 2bf31cc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants