Set pipeable.stdout, stderr line='' default.

This commit is contained in:
voussoir 2021-09-11 11:12:38 -07:00
parent df6a52452a
commit 8d0ba6b946
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -181,10 +181,10 @@ def _output(stream, line, end):
if not OUT_PIPE:
stream.flush()
def stdout(line, end='\n'):
def stdout(line='', end='\n'):
_output(sys.stdout, line, end)
def stderr(line, end='\n'):
def stderr(line='', end='\n'):
_output(sys.stderr, line, end)
# backwards compat