pymel.core.general.resetTool

resetTool(*args, **kwargs)

This command resets a tool back to its factory settings

Derived from mel command maya.cmds.resetTool

Example:

import pymel.core as pm

pm.resetTool( 'moveSuperContext' )