Author flox
Recipients dangyogi, flox, gruszczy
Date 2010-03-28.23:01:53
SpamBayes Score 1.69433e-06
Marked as misclassified No
Message-id <1269817314.37.0.417129984567.issue8256@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-03-28 23:01:54floxsetrecipients: + flox, dangyogi, gruszczy
2010-03-28 23:01:54floxsetmessageid: <1269817314.37.0.417129984567.issue8256@psf.upfronthosting.co.za>
2010-03-28 23:01:53floxlinkissue8256 messages
2010-03-28 23:01:53floxcreate