Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Ddoctest.py575 class DocTestParser: class
819 def __init__(self, verbose=False, parser=DocTestParser(),
1925 extraglobs=None, raise_on_error=False, parser=DocTestParser(),
2099 test = DocTestParser().get_doctest(s, self.globs, name, None, None)
2446 globs=None, parser=DocTestParser(),
2606 for piece in DocTestParser().parse(s):
/external/python/cpython3/Doc/library/
Ddoctest.rst349 algorithm for handling tabs by writing a custom :class:`DocTestParser` class.
839 …rt=True, optionflags=0, extraglobs=None, raise_on_error=False, parser=DocTestParser(), encoding=No…
901 Optional argument *parser* specifies a :class:`DocTestParser` (or subclass) that
903 (i.e., ``DocTestParser()``).
985 …ge=None, setUp=None, tearDown=None, globs=None, optionflags=0, parser=DocTestParser(), encoding=No…
1041 Optional argument *parser* specifies a :class:`DocTestParser` (or subclass)
1043 parser (i.e., ``DocTestParser()``).
1155 :class:`DocTestParser` to create a :class:`DocTest` from every docstring that
1158 * :class:`DocTestParser`: Creates a :class:`DocTest` object from a string (such
1176 DocTestParser | Example | OutputChecker
[all …]
/external/python/cpython3/Lib/
Ddoctest.py572 class DocTestParser: class
816 def __init__(self, verbose=False, parser=DocTestParser(),
1962 extraglobs=None, raise_on_error=False, parser=DocTestParser(),
2410 globs=None, parser=DocTestParser(),
2567 for piece in DocTestParser().parse(s):
/external/python/cpython2/Doc/library/
Ddoctest.rst358 algorithm for handling tabs by writing a custom :class:`DocTestParser` class.
907 Optional argument *parser* specifies a :class:`DocTestParser` (or subclass) that
909 (i.e., ``DocTestParser()``).
1067 Optional argument *parser* specifies a :class:`DocTestParser` (or subclass)
1069 parser (i.e., ``DocTestParser()``).
1199 :class:`DocTestParser` to create a :class:`DocTest` from every docstring that
1202 * :class:`DocTestParser`: Creates a :class:`DocTest` object from a string (such
1220 DocTestParser | Example | OutputChecker
1361 The optional argument *parser* specifies the :class:`DocTestParser` object (or a
1414 DocTestParser objects
[all …]