Mark Lawrence added the comment: The comma is needed to prevent blank newlines being printed. Please try it for yourself. ---------- nosy: +BreamoreBoy _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22170> _______________________________________