MCPcopy Create free account
hub / github.com/aio-libs/multidict / cpython_inlines

Function cpython_inlines

tools/check_inlining.py:376–382  ·  view source on GitHub ↗

The names of the inline functions declared in the CPython headers and in pythoncapi_compat.h.

(root, include)

Source from the content-addressed store, hash-verified

374
375
376def cpython_inlines(root, include):
377 """The names of the inline functions declared in the CPython headers
378 and in pythoncapi_compat.h."""
379 names = set()
380 for path in [*include.rglob("*.h"), root / COMPAT_HEADER]:
381 names.update(CPYTHON_INLINE_RE.findall(path.read_text(errors="replace")))
382 return names
383
384
385def call_graph(obj):

Callers 1

mainFunction · 0.85

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected