MCPcopy Create free account
hub / github.com/python/cpython / build_item

Method build_item

Tools/c-analyzer/c_analyzer/info.py:272–276  ·  view source on GitHub ↗
(cls, info, resolved=None, **extra)

Source from the content-addressed store, hash-verified

270
271 @classonly
272 def build_item(cls, info, resolved=None, **extra):
273 if resolved is None:
274 return cls._item_class.from_raw(info, **extra)
275 else:
276 return cls._item_class.from_resolved(info, resolved, **extra)
277
278 @classmethod
279 def from_results(cls, results):

Callers 2

__init__Method · 0.45
_add_resultMethod · 0.45

Calls 2

from_resolvedMethod · 0.80
from_rawMethod · 0.45

Tested by

no test coverage detected