def edit_action(parent, *keys):
 action = qtutils.add_action_with_status_tip(parent, cmds.LaunchEditor.name(), N_(u'Edit selected paths'), cmds.run(cmds.LaunchEditor), hotkeys.EDIT, *keys)
 action.setIcon(icons.edit())
 return action

def edit_action ( parent , * keys ) : action = qtutils . add_action_with_status_tip ( parent , cmds . LaunchEditor . name ( ) , N_ ( u'Edit selected paths' ) , cmds . run ( cmds . LaunchEditor ) , hotkeys . EDIT , * keys ) action . setIcon ( icons . edit ( ) ) return action
launch an editor -> qaction .