Nope, that's correct. `float(17) * np.matrix(...)` first ends up in `np.matrix.__rmul__`, which calls `np.dot`, which calls `PyArray_MatrixProduct2`, which casts `float(17)` into an array scalar an then calls this place. :)