def setTranslation(self, trans, space=None):
    if isinstance(trans, Plug):
        trans = trans.as_vector()
    if isinstance(trans, (tuple, list)):
        trans = Vector(*trans)
    space = (space or sTransform)
    return super(TransformationMatrix, self).setTranslation(trans, space)
def setTranslation(self, trans, space=None):
    if isinstance(trans, Plug):
        trans = trans.as_vector()
    if isinstance(trans, (tuple, list)):
        trans = Vector(*trans)
    space = (space or sTransform)
    return super(TransformationMatrix, self).setTranslation(trans, space)