bpo-32832: support override of ps1/ps2/output prefix for doctest parser by skirpichev · Pull Request #7141 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

The Python stdlib allows override of sys.ps1/ps2 (to make IPython-like
dynamic prompts and so on).  In the IPython - customized parser
class created to support doctests, written in such a style.  This commit
adds optional arguments for DocTestParser.__init__() to support
same in the doctest module as well.

Labels