diff options
author | Matt Bogosian <matt@bogosian.net> | 2022-03-10 08:42:15 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 16:42:15 +0200 |
commit | 32bf3597922ac3f613989582afa2bff43bea8a2f (patch) | |
tree | 021eab024d0936c9e682af8adebdf1123d83f0e1 /Lib/test/test_enum.py | |
parent | 9b51fd5d137b662c940f072297b30815f37f105b (diff) | |
download | cpython-32bf3597922ac3f613989582afa2bff43bea8a2f.tar.gz cpython-32bf3597922ac3f613989582afa2bff43bea8a2f.zip |
bpo-46581: Propagate private vars via _GenericAlias.copy_with (GH-31061)
GH-26091 added the _typevar_types and _paramspec_tvars instance
variables to _GenericAlias. However, they were not propagated
consistently. This commit addresses the most prominent deficiency
identified in bpo-46581 (namely their absence from
_GenericAlias.copy_with), but there could be others.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/test_enum.py')
0 files changed, 0 insertions, 0 deletions