Mark Dickinson <dicki...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44308>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to