def ctxEditMode(*args, **kwargs):

    pass
This command tells the current context to switch edit modes.It acts as a toggle.
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/core/context.py/ctxEditMode