We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7412934 commit e545b54Copy full SHA for e545b54
cmd2/cmd2.py
@@ -105,9 +105,9 @@ def __subclasshook__(cls, C):
105
106
# Python 3.4 require contextlib2 for temporarily redirecting stderr and stdout
107
if sys.version_info < (3, 5):
108
- from contextlib2 import redirect_stdout, redirect_stderr
+ from contextlib2 import redirect_stdout
109
else:
110
- from contextlib import redirect_stdout, redirect_stderr
+ from contextlib import redirect_stdout
111
112
# Detect whether IPython is installed to determine if the built-in "ipy" command should be included
113
ipython_available = True
0 commit comments