Set pipeable.stdout, stderr line='' default.
This commit is contained in:
parent
df6a52452a
commit
8d0ba6b946
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue