]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45662: Fix the repr of InitVar with a type alias to the built-in class (GH-29291)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 5 Dec 2021 20:41:58 +0000 (22:41 +0200)
committerGitHub <noreply@github.com>
Sun, 5 Dec 2021 20:41:58 +0000 (22:41 +0200)
commit1fd4de5bddbbf2a97cdbac4d298c89e1156bdc6c
tree905cb4c796f82a7ce786b767f63220202f701d07
parent60c320c38e4e95877cde0b1d8562ebd6bc02ac61
bpo-45662: Fix the repr of InitVar with a type alias to the built-in class (GH-29291)

For example, InitVar[list[int]].
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]