]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] bpo-38191: Accept arbitrary keyword names in NamedTuple(). (GH-16222) (GH-16239)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 17 Sep 2019 19:09:09 +0000 (22:09 +0300)
committerGitHub <noreply@github.com>
Tue, 17 Sep 2019 19:09:09 +0000 (22:09 +0300)
commit69b3718b183a698202bd67488639bffd64a488bc
treeae9c8febf23fa69f90518dd02526a5770234d776
parentfc022f04b41a79cacdff380435c30c8042c82b99
[3.7] bpo-38191: Accept arbitrary keyword names in NamedTuple(). (GH-16222) (GH-16239)

This includes such names as "cls", "self", "typename" and "fields".
(cherry picked from commit 2bf31ccab3d17f3f35b42dca97f99576dfe2fc7d)
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS.d/next/Library/2019-09-17-12-28-27.bpo-38191.1TU0HV.rst [new file with mode: 0644]