From 3972fb97354f37300c375d38514157d856b9dd69 Mon Sep 17 00:00:00 2001 From: Brian Schubert Date: Sat, 12 Jul 2025 09:39:24 -0400 Subject: [PATCH] Add default for `Interpolation.expression` --- stdlib/string/templatelib.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/string/templatelib.pyi b/stdlib/string/templatelib.pyi index 324447f5f34c..3f460006a796 100644 --- a/stdlib/string/templatelib.pyi +++ b/stdlib/string/templatelib.pyi @@ -26,6 +26,6 @@ class Interpolation: __match_args__ = ("value", "expression", "conversion", "format_spec") def __new__( - cls, value: Any, expression: str, conversion: Literal["a", "r", "s"] | None = None, format_spec: str = "" + cls, value: Any, expression: str = "", conversion: Literal["a", "r", "s"] | None = None, format_spec: str = "" ) -> Interpolation: ... def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...