[issue44308] Raw Strings lack parody

Mark Dickinson report at bugs.python.org
Fri Jun 4 08:00:32 EDT 2021


Mark Dickinson <dickinsm at gmail.com> added the comment:

Sorry, I missed the definition of f in the last message. Trying again:

>>> def f(x): return x
... 
>>> f(r'foo\bar') == 'foo\\bar'
True

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44308>
_______________________________________


More information about the Python-bugs-list mailing list