summaryrefslogtreecommitdiff
path: root/cmd2/utils.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-04-11 13:34:52 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-04-11 13:34:52 -0400
commitc5aa3fd31567574a9ed9fa97f7ba7e7083af707f (patch)
tree1c0043c78e702da2c5e5175d284cc8eeb6d46449 /cmd2/utils.py
parentd815d2cd19a24bac89bd19416fb2b7cd0dadfe03 (diff)
parentc4fbd8fa618b5c48cc38ac5c262d3c1ec53ce9af (diff)
downloadcmd2-git-c5aa3fd31567574a9ed9fa97f7ba7e7083af707f.tar.gz
Merge branch 'master' into table_creator
Diffstat (limited to 'cmd2/utils.py')
-rw-r--r--cmd2/utils.py2
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