mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 15:16:54 +08:00
Switch to Python 3.10.0-rc.1 in CI (#5845)
* Switch to Python 3.10.0-rc.1 in CI * Add module argument to ForwardRef.__init__()
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -100,7 +100,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
||||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10.0-beta.4"]
|
||||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10.0-rc.1"]
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
||||
@@ -706,7 +706,10 @@ if sys.version_info >= (3, 7):
|
||||
__forward_evaluated__: bool
|
||||
__forward_value__: Optional[Any]
|
||||
__forward_is_argument__: bool
|
||||
def __init__(self, arg: str, is_argument: bool = ...) -> None: ...
|
||||
if sys.version_info >= (3, 10):
|
||||
def __init__(self, arg: str, is_argument: bool = ..., module: Any | None = ...) -> None: ...
|
||||
else:
|
||||
def __init__(self, arg: str, is_argument: bool = ...) -> None: ...
|
||||
def _evaluate(self, globalns: Optional[Dict[str, Any]], localns: Optional[Dict[str, Any]]) -> Optional[Any]: ...
|
||||
def __eq__(self, other: Any) -> bool: ...
|
||||
def __hash__(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user