mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-27 13:22:11 +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):
|
||||
|
||||
@@ -82,6 +82,6 @@ if sys.version_info >= (3, 10):
|
||||
def correlation(__x: Sequence[_Number], __y: Sequence[_Number]) -> float: ...
|
||||
def covariance(__x: Sequence[_Number], __y: Sequence[_Number]) -> float: ...
|
||||
class LinearRegression(NamedTuple):
|
||||
intercept: float
|
||||
slope: float
|
||||
intercept: float
|
||||
def linear_regression(__regressor: Sequence[_Number], __dependent_variable: Sequence[_Number]) -> LinearRegression: ...
|
||||
|
||||
Reference in New Issue
Block a user