From 8d0ba6b946c76aa675207a5267d16b0c2284f3a8 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 11 Sep 2021 11:12:38 -0700 Subject: [PATCH] Set pipeable.stdout, stderr line='' default. --- voussoirkit/pipeable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voussoirkit/pipeable.py b/voussoirkit/pipeable.py index f36efa8..2b1a260 100644 --- a/voussoirkit/pipeable.py +++ b/voussoirkit/pipeable.py @@ -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