mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
Fix type of format_spec attribute of ast.Interpolation (#14331)
This commit is contained in:
+3
-3
@@ -1062,13 +1062,13 @@ if sys.version_info >= (3, 14):
|
||||
value: expr
|
||||
str: builtins.str
|
||||
conversion: int
|
||||
format_spec: builtins.str | None = None
|
||||
format_spec: expr | None = None
|
||||
def __init__(
|
||||
self,
|
||||
value: expr = ...,
|
||||
str: builtins.str = ...,
|
||||
conversion: int = ...,
|
||||
format_spec: builtins.str | None = ...,
|
||||
format_spec: expr | None = ...,
|
||||
**kwargs: Unpack[_Attributes],
|
||||
) -> None: ...
|
||||
def __replace__(
|
||||
@@ -1077,7 +1077,7 @@ if sys.version_info >= (3, 14):
|
||||
value: expr = ...,
|
||||
str: builtins.str = ...,
|
||||
conversion: int = ...,
|
||||
format_spec: builtins.str | None = ...,
|
||||
format_spec: expr | None = ...,
|
||||
**kwargs: Unpack[_Attributes],
|
||||
) -> Self: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user