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

master
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
1 changed files with 2 additions and 2 deletions

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