(self, visited)
| 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 |
| 654 | def read(it): |
nothing calls this directly
no test coverage detected