We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d1bcc commit a961455Copy full SHA for a961455
matrix/matrix_class.py
@@ -2,14 +2,15 @@
2
3
from __future__ import annotations
4
5
+from typing import ClassVar
6
7
class Matrix:
8
"""
9
Matrix object generated from a 2D array where each element is an array representing
10
a row. Supports both integer and float values.
11
12
- __hash__: None = None # Fix PLW1641: Mark class as unhashable with type annotation
13
+ __hash__: ClassVar[None] = None # Fix PLW1641: Mark class as unhashable with type annotation
14
15
def __init__(self, rows: list[list[float]]) -> None:
16
0 commit comments