Derived from mel command maya.cmds.selectedNodes
pymel.core.general.selected
pymel.core.general.selectionConnection
Enter search terms or a module, class or function name.