Ronald Oussoren <ronaldousso...@mac.com> added the comment:

@pahskazan: It is correct that '\r\n' is not found in those strings, Python 
source code is always parsed after conversion to "Unix" line endings with "\n" 
between lines.  This is basicly the same as the "universal newlines" feature of 
the open function <https://docs.python.org/3/library/functions.html#open>.

The output you get is therefore expected behaviour. See also Raymond's note 
about how to use str.find() and the other typo in that line.

----------
resolution:  -> not a bug
stage:  -> resolved
type:  -> behavior

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

Reply via email to