[ty] Fix signature of NamedTupleLike._make (#20302)

This commit is contained in:
David Peter 2025-09-08 14:53:17 +02:00 committed by GitHub
parent deb3d3d150
commit 916968d0ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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):