diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-17 18:41:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-17 18:41:55 (GMT) |
commit | 54ba5f19d4a654768c785468d736ed0bd05947f5 (patch) | |
tree | 91404a699de636e75ba058fcad324b15ce64cdb6 /Include/enumobject.h | |
parent | 3c1786f18b1542e71454f37e3f3ca1ef3eec0e5f (diff) | |
download | cpython-54ba5f19d4a654768c785468d736ed0bd05947f5.zip cpython-54ba5f19d4a654768c785468d736ed0bd05947f5.tar.gz cpython-54ba5f19d4a654768c785468d736ed0bd05947f5.tar.bz2 |
bpo-38191: Accept arbitrary keyword names in NamedTuple() and TypedDict(). (GH-16222)
This includes such names as "cls", "self", "typename", "_typename",
"fields" and "_fields".
Passing positional arguments by keyword is deprecated.
(cherry picked from commit 2bf31ccab3d17f3f35b42dca97f99576dfe2fc7d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Include/enumobject.h')
0 files changed, 0 insertions, 0 deletions