def rotateBy(self, rot, space=None):
    'Handle arguments conveniently\n\n        - Allow for optional `space` argument\n        - Automatically convert tuple to Vector\n\n        Arguments:\n            rot (Vector, Quaternion): Rotation to add\n\n        '
    space = (space or sTransform)
    if isinstance(rot, (tuple, list)):
        rot = Vector(rot)
    if isinstance(rot, om.MVector):
        rot = EulerRotation(rot)
    return super(TransformationMatrix, self).rotateBy(rot, space)
Handle arguments conveniently

- Allow for optional `space` argument
- Automatically convert tuple to Vector

Arguments:
    rot (Vector, Quaternion): Rotation to add
def rotateBy(self, rot, space=None):
    'Handle arguments conveniently\n\n        - Allow for optional `space` argument\n        - Automatically convert tuple to Vector\n\n        Arguments:\n            rot (Vector, Quaternion): Rotation to add\n\n        '
    space = (space or sTransform)
    if isinstance(rot, (tuple, list)):
        rot = Vector(rot)
    if isinstance(rot, om.MVector):
        rot = EulerRotation(rot)
    return super(TransformationMatrix, self).rotateBy(rot, space)