def __imul__(self, other):
        res = self*other
        if isinstance(res, self.__class__) :
            return self.__class__(res)
        else :
            raise TypeError, "result of in place multiplication of %s by %s is not a %s" % (clsname(self), clsname(other), clsname(self))

    # specific methods
repeat should throw an exception when
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/util/arrays.py/MatrixN.__imul__--crossover with--dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/RepeatedBlocksTagsTests.test_repeat_with_no_args