Skip to content

Problem with escapes within raw string literals #532

Closed

Description

@JukkaL

Escapes are not processed correctly in triple-quoted raw string literals. Mypy complains about $ even though it's within a string literal:

r"""\"""$"""

Activity

  1. JukkaL commented on Dec 21, 2014

    @JukkaL
    CollaboratorAuthor

    Actually \ escapes seem to be broken in all triple-quoted (including non-raw) string literals.

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

    bugmypy got something wrong

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions