PyDocs

Nav

Development Tools

DocTestParser.parse

  • DocTestParser.parse(string, name='<string>')
Divide the given string into examples and intervening text,
and return them as a list of alternating Examples and strings.
Line numbers for the Examples are 0-based.  The optional
argument `name` is a name identifying this string, and is only
used for error messages.
0 Examples
No examples for doctest/DocTestParser.parse.
See Also
No see-alsos for doctest/DocTestParser.parse
0 Notes
No notes for DocTestParser.parse