Skip to content

Commit e6e1f92

Browse files
committed
Temporarily patch vendored typeshed so that CI can run
See typeshed 14331
1 parent fe42ad9 commit e6e1f92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mypy/typeshed/stdlib/ast.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,13 +1076,13 @@ if sys.version_info >= (3, 14):
10761076
value: expr
10771077
str: builtins.str
10781078
conversion: int
1079-
format_spec: builtins.str | None = None
1079+
format_spec: expr | None = None
10801080
def __init__(
10811081
self,
10821082
value: expr = ...,
10831083
str: builtins.str = ...,
10841084
conversion: int = ...,
1085-
format_spec: builtins.str | None = ...,
1085+
format_spec: expr | None = ...,
10861086
**kwargs: Unpack[_Attributes],
10871087
) -> None: ...
10881088
def __replace__(
@@ -1091,7 +1091,7 @@ if sys.version_info >= (3, 14):
10911091
value: expr = ...,
10921092
str: builtins.str = ...,
10931093
conversion: int = ...,
1094-
format_spec: builtins.str | None = ...,
1094+
format_spec: expr | None = ...,
10951095
**kwargs: Unpack[_Attributes],
10961096
) -> Self: ...
10971097

0 commit comments

Comments
 (0)