Skip to content

Python PEP 701 f-strings changes #150

@zufuliu

Description

@zufuliu

https://peps.python.org/pep-0701/
https://discuss.python.org/t/pep-701-syntactic-formalization-of-f-strings/22046

# https://peps.python.org/pep-0701/#rationale
f"{f"{f"infinite"}"}" + " " + f"{f"nesting!!!"}"
f"{'\n'.join(a)}"

# https://discuss.python.org/t/pep-701-syntactic-formalization-of-f-strings/22046/93
f"___{
    x
}___"

Metadata

Metadata

Assignees

No one assigned

    Labels

    pythonCaused by the Python lexer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions