davidhalter / davidhalter/parso

raw-format string will be recognized as an error

Open
#197 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
679
Forks
120
PR merge metrics
No merged PRs in 30d

Description

Code snippet:

``` python
im.convert('1').save(rf'script\temp\{ord(c)}.png')
^ SyntaxError: invalid syntax *jedi*
```

*`rf` - a convenient way of invoiding anomalous backslash in string, isn't it?*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.