Zachary Ware <[email protected]> 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 [email protected] 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 <[email protected]> <https://bugs.python.org/issue42279> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
