Skip to content

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

Description

@greg1lutz

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions