diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-04-11 13:33:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 13:33:45 -0400 |
commit | c4fbd8fa618b5c48cc38ac5c262d3c1ec53ce9af (patch) | |
tree | 6bbe109ac6bc4dc5082fc8cd8e6cecd6a94ac677 /cmd2/utils.py | |
parent | 0d4be64b6ec76fcf5f87933293dbc7c134a32cf0 (diff) | |
parent | 526ab5325536f91c48867f4497f4b3dd4150f482 (diff) | |
download | cmd2-git-c4fbd8fa618b5c48cc38ac5c262d3c1ec53ce9af.tar.gz |
Merge pull request #918 from python-cmd2/echo_updates
App echo updates
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 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 |