Zachary Ware <zachary.w...@gmail.com> added the comment:

That's because you're writing an output line once per replacement rather than 
once per input line.

For usage questions such as this, you'll be better off on a forum such as 
discuss.python.org, the python-l...@python.org mailing list, or the Python 
Discord community (pythondiscord.com).

----------
assignee: terry.reedy -> 
nosy: +zach.ware
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to