summaryrefslogtreecommitdiff
path: root/cmd2/utils.py
diff options
context:
space:
mode:
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 8b5e9cc8..03ede2a3 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