mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Unmark types.UnionType
This commit is contained in:
2
Lib/types.py
vendored
2
Lib/types.py
vendored
@@ -301,7 +301,7 @@ def coroutine(func):
|
||||
return wrapped
|
||||
|
||||
GenericAlias = type(list[int])
|
||||
# UnionType = type(int | str)
|
||||
UnionType = type(int | str)
|
||||
|
||||
EllipsisType = type(Ellipsis)
|
||||
NoneType = type(None)
|
||||
|
||||
Reference in New Issue
Block a user