def iter_shortcuts():
 for option in CONF.options('shortcuts'):
  (context, name) = option.split('/', 1)
  (yield (context, name, get_shortcut(context, name)))

def iter_shortcuts ( ) : for option in CONF . options ( 'shortcuts' ) : ( context , name ) = option . split ( '/' , 1 ) ( yield ( context , name , get_shortcut ( context , name ) ) )
iterate over keyboard shortcuts .