mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-17 07:14:12 +08:00
Use typing_extensions.Self instead of _typeshed.Self (#9702)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete, Self
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Callable, Iterable
|
||||
from typing import Any, Generic, TypeVar, overload
|
||||
from typing_extensions import ParamSpec
|
||||
from typing_extensions import ParamSpec, Self
|
||||
|
||||
from .config import Config
|
||||
from .context import Context
|
||||
@@ -105,7 +105,7 @@ class Call:
|
||||
kwargs: dict[str, Any] | None = ...,
|
||||
) -> None: ...
|
||||
def __getattr__(self, name: str) -> Any: ...
|
||||
def __deepcopy__(self: Self, memo: Any) -> Self: ...
|
||||
def __deepcopy__(self, memo: Any) -> Self: ...
|
||||
def __eq__(self, other: Call) -> bool: ... # type: ignore[override]
|
||||
def make_context(self, config: Config) -> Context: ...
|
||||
def clone_data(self): ...
|
||||
|
||||
Reference in New Issue
Block a user