We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c04c911 commit 9f13289Copy full SHA for 9f13289
stdlib/string/templatelib.pyi
@@ -11,7 +11,7 @@ class Template: # TODO: consider making `Template` generic on `TypeVarTuple`
11
12
def __new__(cls, *args: str | Interpolation) -> Template: ...
13
def __iter__(self) -> Iterator[str | Interpolation]: ...
14
- def __add__(self, other: Template | str) -> Template: ...
+ def __add__(self, other: Template, /) -> Template: ...
15
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
16
@property
17
def values(self) -> tuple[Any, ...]: ... # Tuple of interpolation values, which can have any type
0 commit comments