bpo-44632: Fix support of TypeVar in the union type by serhiy-storchaka · Pull Request #27139 · python/cpython
serhiy-storchaka
changed the title
Union or typevar
bpo-44632: Fix support of TypeVar in the union type
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
int | TypeVar('T') returns now an instance of types.Union
instead of typing.Union.
(cherry picked from commit a158b20)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request
) int | TypeVar('T') returns now an instance of types.Union instead of typing.Union. (cherry picked from commit a158b20) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters