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

Method rmenu_check_cut

Lib/idlelib/pyshell.py:1432–1438  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1430 return count
1431
1432 def rmenu_check_cut(self):
1433 try:
1434 if self.text.compare('sel.first', '<', 'iomark'):
1435 return 'disabled'
1436 except TclError: # no selection, so the index 'sel.first' doesn't exist
1437 return 'disabled'
1438 return super().rmenu_check_cut()
1439
1440 def rmenu_check_paste(self):
1441 if self.text.compare('insert','<','iomark'):

Callers

nothing calls this directly

Calls 2

superClass · 0.85
compareMethod · 0.45

Tested by

no test coverage detected