Skip to content

Commit d3cfe67

Browse files
Fix type of format_spec attribute of ast.Interpolation (#14331)
1 parent 2669de5 commit d3cfe67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/ast.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,13 +1062,13 @@ if sys.version_info >= (3, 14):
10621062
value: expr
10631063
str: builtins.str
10641064
conversion: int
1065-
format_spec: builtins.str | None = None
1065+
format_spec: expr | None = None
10661066
def __init__(
10671067
self,
10681068
value: expr = ...,
10691069
str: builtins.str = ...,
10701070
conversion: int = ...,
1071-
format_spec: builtins.str | None = ...,
1071+
format_spec: expr | None = ...,
10721072
**kwargs: Unpack[_Attributes],
10731073
) -> None: ...
10741074
def __replace__(
@@ -1077,7 +1077,7 @@ if sys.version_info >= (3, 14):
10771077
value: expr = ...,
10781078
str: builtins.str = ...,
10791079
conversion: int = ...,
1080-
format_spec: builtins.str | None = ...,
1080+
format_spec: expr | None = ...,
10811081
**kwargs: Unpack[_Attributes],
10821082
) -> Self: ...
10831083

0 commit comments

Comments
 (0)