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

Method RemoveKeyBindNames

Lib/idlelib/config.py:454–456  ·  view source on GitHub ↗

Return extnNameList with keybinding section names removed.

(self, extnNameList)

Source from the content-addressed store, hash-verified

452 return extns
453
454 def RemoveKeyBindNames(self, extnNameList):
455 "Return extnNameList with keybinding section names removed."
456 return [n for n in extnNameList if not n.endswith(('_bindings', '_cfgBindings'))]
457
458 def GetExtnNameForEvent(self, virtualEvent):
459 """Return the name of the extension binding virtualEvent, or None.

Callers 2

GetExtensionsMethod · 0.95

Calls 1

endswithMethod · 0.45

Tested by 1