MCPcopy Create free account
hub / github.com/ActiveState/code / get_call

Method get_call

recipes/Python/578138_gprof2dotpy/recipe-578138.py:195–202  ·  view source on GitHub ↗
(self, callee_id)

Source from the content-addressed store, hash-verified

193 self.calls[call.callee_id] = call
194
195 def get_call(self, callee_id):
196 if not callee_id in self.calls:
197 call = Call(callee_id)
198 call[SAMPLES] = 0
199 call[SAMPLES2] = 0
200 call[CALLS] = 0
201 self.calls[callee_id] = call
202 return self.calls[callee_id]
203
204 _parenthesis_re = re.compile(r'\([^()]*\)')
205 _angles_re = re.compile(r'<[^<>]*>')

Callers 1

parseMethod · 0.95

Calls 1

CallClass · 0.85

Tested by

no test coverage detected