8000 Add basic support for template strings (PEP 750) by brianschubert · Pull Request #19333 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Add basic support for template strings (PEP 750) #19333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Temporarily patch vendored typeshed so that CI can run
See typeshed 14331
  • Loading branch information
brianschubert committed Jun 24, 2025
commit e6e1f92f7a00b202b734456eb7556cce5c9102ac
6 changes: 3 additions & 3 deletions mypy/typeshed/stdlib/ast.pyi
52BE
Original file line number Diff line number Diff line change
Expand Up @@ -1076,13 +1076,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__(
Expand All @@ -1091,7 +1091,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: ...

Expand Down
0