mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Use Python 3.10 beta 4 instead of beta 1 in CI (#5839)
Quote all Python versions to make sure they are interpreted as strings, not floats.
This commit is contained in:
@@ -78,7 +78,7 @@ class IntFlag(int, Flag):
|
||||
__rand__ = __and__
|
||||
__rxor__ = __xor__
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
if sys.version_info >= (3, 11):
|
||||
class StrEnum(str, Enum):
|
||||
def __new__(cls: Type[_T], value: Union[int, _T]) -> _T: ...
|
||||
class FlagBoundary(StrEnum):
|
||||
|
||||
Reference in New Issue
Block a user