Eric V. Smith <e...@trueblade.com> added the comment:

I agree with Mark: the string is being correctly interpreted by the AST parser, 
per Python's tokenizer rules.

You might want to look at lib2to3, which I think is also used by black. It's 
also possible that mypy or another static analyzer would be using some library 
you can leverage.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type:  -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36911>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to