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

Method rmenu_check_paste

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

Source from the content-addressed store, hash-verified

1438 return super().rmenu_check_cut()
1439
1440 def rmenu_check_paste(self):
1441 if self.text.compare('insert','<','iomark'):
1442 return 'disabled'
1443 return super().rmenu_check_paste()
1444
1445 def squeeze_current_text_event(self, event=None):
1446 self.squeezer.squeeze_current_text()

Callers

nothing calls this directly

Calls 2

superClass · 0.85
compareMethod · 0.45

Tested by

no test coverage detected