diff options
Diffstat (limited to 'cmd2/py_bridge.py')
-rw-r--r-- | cmd2/py_bridge.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/cmd2/py_bridge.py b/cmd2/py_bridge.py index 38fef142..a9b8641d 100644 --- a/cmd2/py_bridge.py +++ b/cmd2/py_bridge.py @@ -5,10 +5,18 @@ while maintaining a reasonable degree of isolation between the two. """ import sys -from contextlib import redirect_stderr, redirect_stdout -from typing import Optional - -from .utils import StdSim, namedtuple_with_defaults +from contextlib import ( + redirect_stderr, + redirect_stdout, +) +from typing import ( + Optional, +) + +from .utils import ( + StdSim, + namedtuple_with_defaults, +) class CommandResult(namedtuple_with_defaults('CommandResult', ['stdout', 'stderr', 'stop', 'data'])): |