Skip to content

Python3 erroneously calls r'\' a syntax error #103704

@greg1lutz

Description

@greg1lutz

The Python 3.11.3 interpreter, upon seeing the expression
r'\'
emits the message
SyntaxError: unterminated string literal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions