MCPcopy Create free account
hub / github.com/ipython/ipython / __init__

Method __init__

IPython/core/tests/tclass.py:12–15  ·  view source on GitHub ↗
(self,name)

Source from the content-addressed store, hash-verified

10# accumulating massive amounts of old references.
11class C(object):
12 def __init__(self,name):
13 self.name = name
14 self.p = print
15 self.flush_stdout = sys.stdout.flush
16
17 def __del__(self):
18 self.p('tclass.py: deleting object:',self.name)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected