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

Method proxyval

Tools/gdb/libpython.py:640–651  ·  view source on GitHub ↗
(self, visited)

Source from the content-addressed store, hash-verified

638 _typename = 'PyCFunctionObject'
639
640 def proxyval(self, visited):
641 m_ml = self.field('m_ml') # m_ml is a (PyMethodDef*)
642 try:
643 ml_name = m_ml['ml_name'].string()
644 except UnicodeDecodeError:
645 ml_name = '<ml_name:UnicodeDecodeError>'
646
647 pyop_m_self = self.pyop_field('m_self')
648 if pyop_m_self.is_null():
649 return BuiltInFunctionProxy(ml_name)
650 else:
651 return BuiltInMethodProxy(ml_name, pyop_m_self)
652
653# Python implementation of location table parsing algorithm
654def read(it):

Callers

nothing calls this directly

Calls 6

BuiltInMethodProxyClass · 0.85
fieldMethod · 0.80
stringMethod · 0.80
pyop_fieldMethod · 0.80
is_nullMethod · 0.80

Tested by

no test coverage detected