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

Method close

Lib/idlelib/percolator.py:16–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14 self.filters = []
15
16 def close(self):
17 while self.top is not self.bottom:
18 self.removefilter(self.top)
19 self.top = None
20 self.bottom.setdelegate(None)
21 self.bottom = None
22 self.redir.close()
23 self.redir = None
24 self.text = None
25
26 def insert(self, index, chars, tags=None):
27 # Could go away if inheriting from Delegator

Callers

nothing calls this directly

Calls 2

removefilterMethod · 0.95
setdelegateMethod · 0.45

Tested by

no test coverage detected