MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / parse

Method parse

Lib/doctest.py:597–634  ·  view source on GitHub ↗

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 m

(self, string, name='<string>')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

get_examplesMethod · 0.95
script_from_examplesFunction · 0.45

Calls 11

_min_indentMethod · 0.95
_parse_exampleMethod · 0.95
ExampleClass · 0.85
expandtabsMethod · 0.80
splitMethod · 0.80
groupMethod · 0.80
joinMethod · 0.45
appendMethod · 0.45
startMethod · 0.45
countMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected