MCPcopy Index your code
hub / github.com/ipython/ipython / C

Class C

tests/tclass.py:11–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9# objects from *previous* runs of the same script get collected, to avoid
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)
19 self.flush_stdout()
20
21
22try:

Callers 1

tclass.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected