mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 06:36:54 +08:00
Improve a bunch of __(deep)copy__ methods (#7148)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Self
|
||||
from typing import Any
|
||||
|
||||
from .config import Config
|
||||
@@ -61,7 +62,7 @@ class Call:
|
||||
self, task: Task, called_as: str | None = ..., args: tuple[Any, ...] | None = ..., kwargs: dict[str, Any] | None = ...
|
||||
) -> None: ...
|
||||
def __getattr__(self, name: str) -> Any: ...
|
||||
def __deepcopy__(self, memo: Any) -> Task: ...
|
||||
def __deepcopy__(self: 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