wxgoodies/keys.py
def remove_accelerator(control, key):
 """
 Removes an accelerator from control.
 
 control: The control to affect.
 key: The key to remove.
 """
 key = str_to_key(key)
 t = _tables.get(control, [])
 for a in t:
  if a[:2] == key:
   t.remove(a)
   if t:
    _tables[control] = t
   else:
    del _tables[control]
   update_accelerators(control)
   return True
 return False
def remove_accelerator(control, key):
 """
 Removes an accelerator from control.
 
 control: The control to affect.
 key: The key to remove.
 """
 key = str_to_key(key)
 t = _tables.get(control, [])
 for a in t:
  if a[:2] == key:
   t.remove(a)
   if t:
    _tables[control] = t
   else:
    del _tables[control]
   update_accelerators(control)
   return True
 return False
def remove_accelerator ( control , key ) : key = str_to_key ( key ) t = _tables . get ( control , [ ] ) for a in t : if a [ : 2 ] == key : t . remove ( a ) if t : _tables [ control ] = t else : del _tables [ control ] update_accelerators ( control ) return True return False
Removes an accelerator from control.
 
 control: The control to affect.
 key: The key to remove.
Removes an accelerator from control . control : The control to affect . key : The key to remove .