From eba42bdf9e862e28884511a279dc19a8aead74e0 Mon Sep 17 00:00:00 2001 From: Brian Schubert Date: Sat, 12 Jul 2025 13:18:25 -0400 Subject: [PATCH] Add default value for `expression` parameter of `string.templatelib.Interpolation` (#14403) 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 324447f5f..3f460006a 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: ...