]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-45662: Fix the repr of InitVar with a type alias to the built-in class...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 10 Dec 2021 09:42:49 +0000 (01:42 -0800)
committerGitHub <noreply@github.com>
Fri, 10 Dec 2021 09:42:49 +0000 (11:42 +0200)
commitfb8aad16401e081a6a9059c7b428f7e8aae85d58
tree0358580d4dade3ef387ee9ac575c6b7d8f9b529a
parent5ae4265b8c8042c496e569b6dbf9ef107e1d5b31
[3.9] bpo-45662: Fix the repr of InitVar with a type alias to the built-in class (GH-29291) (GH-29924)

For example, InitVar[list[int]].
(cherry picked from commit 1fd4de5bddbbf2a97cdbac4d298c89e1156bdc6c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/dataclasses.py
Lib/test/test_dataclasses.py
Misc/NEWS.d/next/Library/2021-10-28-22-58-14.bpo-45662.sJd7Ir.rst [new file with mode: 0644]