mirror of https://github.com/astral-sh/ruff
[ty] Fix signature of `NamedTupleLike._make` (#20302)
This commit is contained in:
parent
deb3d3d150
commit
916968d0ff
|
|
@ -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…
Reference in New Issue