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

Method insertfilter

Lib/idlelib/percolator.py:34–39  ·  view source on GitHub ↗
(self, filter)

Source from the content-addressed store, hash-verified

32 self.top.delete(index1, index2)
33
34 def insertfilter(self, filter):
35 # Perhaps rename to pushfilter()?
36 assert isinstance(filter, Delegator)
37 assert filter.delegate is None
38 filter.setdelegate(self.top)
39 self.top = filter
40
41 def insertfilterafter(self, filter, after):
42 assert isinstance(filter, Delegator)

Callers 11

_color_delegatorFunction · 0.95
__init__Method · 0.95
_undo_delegatorFunction · 0.95
__init__Method · 0.80
setUpMethod · 0.80
setUpMethod · 0.80
test_removefilterMethod · 0.80
setUpMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls 1

setdelegateMethod · 0.45

Tested by 6

setUpMethod · 0.64
setUpMethod · 0.64
test_removefilterMethod · 0.64
setUpMethod · 0.64
__init__Method · 0.64