Serhiy Storchaka <[email protected]> added the comment:
There is no a bug.
"\\\"" is the same as r"\\" -- a 2-charackter string consisting of a backslash
character and a doublequote character. r"\\\"" is a different string, it
contains 3 backslash characters.
>>> print("\\\"")
\"
>>> print(repr("\\\""))
'\\"'
----------
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37944>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com