mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:44:56 +00:00
[ty] Fix signature of NamedTupleLike._make
(#20302)
This commit is contained in:
parent
deb3d3d150
commit
916968d0ff
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class NamedTupleLike(Protocol):
|
|||
_field_defaults: ClassVar[dict[str, Any]]
|
||||
_fields: ClassVar[tuple[str, ...]]
|
||||
@classmethod
|
||||
def _make(self: Self, iterable: Iterable[Any]) -> Self: ...
|
||||
def _make(cls: type[Self], iterable: Iterable[Any]) -> Self: ...
|
||||
def _asdict(self, /) -> dict[str, Any]: ...
|
||||
def _replace(self: Self, /, **kwargs) -> Self: ...
|
||||
if sys.version_info >= (3, 13):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue