MCPcopy Index your code
hub / github.com/python/cpython / _make_clinic

Function _make_clinic

Lib/test/test_clinic.py:46–50  ·  view source on GitHub ↗
(*, filename='clinic_tests', limited_capi=False)

Source from the content-addressed store, hash-verified

44 return wrapper
45
46def _make_clinic(*, filename='clinic_tests', limited_capi=False):
47 clang = CLanguage(filename)
48 c = Clinic(clang, filename=filename, limited_capi=limited_capi)
49 c.block_parser = BlockParser('', clang)
50 return c
51
52
53def _expect_failure(tc, parser, code, errmsg, *, filename=None, lineno=None,

Callers 9

setUpMethod · 0.85
parseMethod · 0.85
test_trivialMethod · 0.85
test_directiveMethod · 0.85
setUpMethod · 0.85
test_Destination_reprMethod · 0.85
test_Module_reprMethod · 0.85
test_Class_reprMethod · 0.85

Calls 3

CLanguageClass · 0.90
ClinicClass · 0.90
BlockParserClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…