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

Method __init__

recipes/Python/578138_gprof2dotpy/recipe-578138.py:2085–2097  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

2083 """
2084
2085 def __init__(self, filename):
2086 Parser.__init__(self)
2087
2088 from zipfile import ZipFile
2089
2090 self.database = ZipFile(filename)
2091
2092 self.version_0_7 = 'Version 0.7 required' in self.database.namelist()
2093
2094 self.symbols = {}
2095 self.calls = {}
2096
2097 self.profile = Profile()
2098
2099 _symbol_re = re.compile(
2100 r'^(?P<id>\w+)' +

Callers

nothing calls this directly

Calls 2

ProfileClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected