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

Class WrappedCalltip

Lib/idlelib/idle_test/test_calltip.py:299–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297
298
299class WrappedCalltip(calltip.Calltip):
300 def _make_tk_calltip_window(self):
301 return mock_TipWindow()
302
303 def remove_calltip_window(self, event=None):
304 if self.active_calltip: # Setup to None.
305 self.active_calltip = None
306 self.tips_removed += 1 # Setup to 0.
307
308 def fetch_tip(self, expression):
309 return 'tip'
310
311
312class CalltipTest(unittest.TestCase):

Callers 1

setUpClassMethod · 0.85

Calls

no outgoing calls

Tested by 1

setUpClassMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…