R. David Murray added the comment:

Also note that we have fixed a number of bugs in the stdlib code where a raw 
string was not used for a docstring when it should have been.  And when I say 
bugs, I mean both formatting problems in pydoc, and doctest bugs.  There may 
even have been a case where it produced a code bug, but I'm not sure I'm 
recalling that correctly :)

So yes, requiring that a docstring containing backslashes be marked as a raw 
string is very intentional.

----------

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

Reply via email to