diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-04-11 13:34:52 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-04-11 13:34:52 -0400 |
commit | c5aa3fd31567574a9ed9fa97f7ba7e7083af707f (patch) | |
tree | 1c0043c78e702da2c5e5175d284cc8eeb6d46449 /cmd2/utils.py | |
parent | d815d2cd19a24bac89bd19416fb2b7cd0dadfe03 (diff) | |
parent | c4fbd8fa618b5c48cc38ac5c262d3c1ec53ce9af (diff) | |
download | cmd2-git-c5aa3fd31567574a9ed9fa97f7ba7e7083af707f.tar.gz |
Merge branch 'master' into table_creator
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r-- | cmd2/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/utils.py b/cmd2/utils.py index 78d39863..58305a61 100644 --- a/cmd2/utils.py +++ b/cmd2/utils.py @@ -434,7 +434,7 @@ class StdSim: Class to simulate behavior of sys.stdout or sys.stderr. Stores contents in internal buffer and optionally echos to the inner stream it is simulating. """ - def __init__(self, inner_stream, echo: bool = False, + def __init__(self, inner_stream, *, echo: bool = False, encoding: str = 'utf-8', errors: str = 'replace') -> None: """ StdSim Initializer |