From 916968d0ff9bb45a59ec5ba59a5a7d3caa83a43f Mon Sep 17 00:00:00 2001 From: David Peter Date: Mon, 8 Sep 2025 14:53:17 +0200 Subject: [PATCH] [ty] Fix signature of `NamedTupleLike._make` (#20302) --- crates/ty_vendored/ty_extensions/ty_extensions.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_vendored/ty_extensions/ty_extensions.pyi b/crates/ty_vendored/ty_extensions/ty_extensions.pyi index 41da401099..a9c733fba2 100644 --- a/crates/ty_vendored/ty_extensions/ty_extensions.pyi +++ b/crates/ty_vendored/ty_extensions/ty_extensions.pyi @@ -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):