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

Method _resolve_parent

Tools/c-analyzer/c_parser/info.py:803–806  ·  view source on GitHub ↗
(cls, parsed, *, _kind=None)

Source from the content-addressed store, hash-verified

801
802 @classmethod
803 def _resolve_parent(cls, parsed, *, _kind=None):
804 if _kind is None:
805 raise TypeError(f'{cls.kind.value} declarations do not have parents ({parsed})')
806 return super()._resolve_parent(parsed, _kind=_kind)
807
808 @classmethod
809 def _render_data(cls, fmt, data, extra):

Callers

nothing calls this directly

Calls 2

superClass · 0.85
_resolve_parentMethod · 0.45

Tested by

no test coverage detected