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

Method __missing__

Lib/annotationlib.py:662–671  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

660 self.format = format
661
662 def __missing__(self, key):
663 fwdref = _Stringifier(
664 key,
665 globals=self.globals,
666 owner=self.owner,
667 is_class=self.is_class,
668 stringifier_dict=self,
669 )
670 self.stringifiers.append(fwdref)
671 return fwdref
672
673 def transmogrify(self, cell_dict):
674 for obj in self.stringifiers:

Callers

nothing calls this directly

Calls 2

_StringifierClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected