2009/12/10 Lennart Regebro <lrege...@jarn.com>: > On Thu, Dec 10, 2009 at 00:47, Paul Moore <p.f.mo...@gmail.com> wrote: >>> I think so, but what you need is: >>> >>>> >>> throw_an_exception() >>>> Traceback (most recent call last): >>>> ... >>>> ...DesiredException: ... >> >> No you don't. From the manual: >> >> """ >> When the IGNORE_EXCEPTION_DETAIL doctest option is is specified, >> everything following the leftmost colon is ignored. >> """ > > Note that the difference is *before* the leftmost colon.
Ah, sorry. I missed that important point... Paul. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com