[issue8256] TypeError: bad argument type for built-in operation
Florent Xicluna
report at bugs.python.org
Mon Mar 29 01:01:54 CEST 2010
Florent Xicluna <florent.xicluna at gmail.com> added the comment:
Right. It does not involve doctest.
#
import io, sys
original_stdout = sys.stdout
try:
sys.stdout = io.StringIO()
input("prompt:")
print()
finally:
sys.stdout = original_stdout
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8256>
_______________________________________
More information about the Python-bugs-list
mailing list