]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44015: dataclasses should allow KW_ONLY to be specified only once per class ...
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Mon, 3 May 2021 07:24:53 +0000 (03:24 -0400)
committerGitHub <noreply@github.com>
Mon, 3 May 2021 07:24:53 +0000 (03:24 -0400)
commit99ad742ea913e421d012c1a623029eac31bdfe85
treec4645c0b2590b0c8c082986e6fd390ab7304e80c
parent72720a2639368436da0981983549d000170623cc
bpo-44015: dataclasses should allow KW_ONLY to be specified only once per class (GH-25841)

bpo-44015: Raise a TypeError if KW_ONLY is specified more than once.
Lib/dataclasses.py
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2021-05-03-03-03-49.bpo-44015.V5936k.rst [new file with mode: 0644]