def keybinding(attr):
 ks = getattr(QKeySequence, attr)
 return from_qvariant(QKeySequence.keyBindings(ks)[0], str)

def keybinding ( attr ) : ks = getattr ( QKeySequence , attr ) return from_qvariant ( QKeySequence . keyBindings ( ks ) [ 0 ] , str )
return keybinding .