Skip to content

Commit 71cf5d1

Browse files
authored
Update matrix/matrix_class.py
1 parent 02dbc72 commit 71cf5d1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

matrix/matrix_class.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ def __mul__(self, other: Matrix | float) -> Matrix:
335335
)
336336
case _:
337337
raise TypeError(
338-
"A Matrix can only be multiplied by an int, float, or another matrix"
338+
"A Matrix can only be multiplied by an int, float, or another "
339+
"matrix"
339340
)
340341

341342
def __pow__(self, other: int) -> Matrix:

0 commit comments

Comments
 (0)