Home
last modified time | relevance | path

Searched refs:DocTestParser (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Doc/library/
Ddoctest.rst347 algorithm for handling tabs by writing a custom :class:`DocTestParser` class.
841 …rt=True, optionflags=0, extraglobs=None, raise_on_error=False, parser=DocTestParser(), encoding=No…
903 Optional argument *parser* specifies a :class:`DocTestParser` (or subclass) that
905 (i.e., ``DocTestParser()``).
987 …ge=None, setUp=None, tearDown=None, globs=None, optionflags=0, parser=DocTestParser(), encoding=No…
1043 Optional argument *parser* specifies a :class:`DocTestParser` (or subclass)
1045 parser (i.e., ``DocTestParser()``).
1157 :class:`DocTestParser` to create a :class:`DocTest` from every docstring that
1160 * :class:`DocTestParser`: Creates a :class:`DocTest` object from a string (such
1178 DocTestParser | Example | OutputChecker
[all …]
/third_party/python/Lib/
Ddoctest.py580 class DocTestParser: class
824 def __init__(self, verbose=False, parser=DocTestParser(),
1980 extraglobs=None, raise_on_error=False, parser=DocTestParser(),
2427 globs=None, parser=DocTestParser(),
2584 for piece in DocTestParser().parse(s):