bpo-32832: support override of ps1/ps2/output prefix for doctest parser by skirpichev · Pull Request #7141 · python/cpython
Navigation Menu
- Notifications You must be signed in to change notification settings
- Fork 34.5k
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters