[Python-ideas] pprint in displayhook

Serhiy Storchaka storchaka at gmail.com
Fri Sep 27 15:55:12 CEST 2013


27.09.13 16:05, Antoine Pitrou написав(ла):
>> Wouldn't this also invalidate the millions (I'm guessing) of examples
>> in blogs, how-tos, etc. that show interactive command line examples?
>> I'm sympathetic, but I don't think it's worth it.
>
> Oh and how about... doctest? :-)

Doctest restores sys.__displayhook__.




More information about the Python-ideas mailing list