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

Method __init__

Lib/pstats.py:107–115  ·  view source on GitHub ↗
(self, *args, stream=None)

Source from the content-addressed store, hash-verified

105 """
106
107 def __init__(self, *args, stream=None):
108 self.stream = stream or sys.stdout
109 if not len(args):
110 arg = None
111 else:
112 arg = args[0]
113 args = args[1:]
114 self.init(arg)
115 self.add(*args)
116
117 def init(self, arg):
118 self.all_callees = None # calc only if needed

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 2

initMethod · 0.95
addMethod · 0.95

Tested by

no test coverage detected