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

Method __init__

recipes/Python/578138_gprof2dotpy/recipe-578138.py:179–188  ·  view source on GitHub ↗
(self, id, name)

Source from the content-addressed store, hash-verified

177 """A function."""
178
179 def __init__(self, id, name):
180 Object.__init__(self)
181 self.id = id
182 self.name = name
183 self.module = None
184 self.process = None
185 self.calls = {}
186 self.called = None
187 self.weight = None
188 self.cycle = None
189
190 def add_call(self, call):
191 if call.callee_id in self.calls:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected