Clear parent in python?

Hello,
I know how to set an objects parent with “KX_GameObject.setParent”, but is the anyway to clear the parent of an object?

Sorry, I figured it out, its “KX_GameObject.removeParent” (duh?)