Command to flip the edges shared by 2 adjacent triangles. When used with the edit flag, new edges can be added to the same node, instead of creating a separate node in the chain.
Derived from mel command maya.cmds.polyFlipEdge
Example:
import pymel.core as pm
import maya.cmds as cmds
# To flip the selected edge
pm.polyFlipEdge()