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 bcd32b0 commit 5643c32Copy full SHA for 5643c32
pint/util.py
@@ -24,7 +24,6 @@
24
from typing import (
25
TYPE_CHECKING,
26
ClassVar,
27
- TypeAlias,
28
Callable,
29
TypeVar,
30
Any,
@@ -48,8 +47,12 @@
48
47
49
T = TypeVar("T")
50
TH = TypeVar("TH", bound=Hashable)
51
-ItMatrix: TypeAlias = Iterable[Iterable[PintScalar]]
52
-Matrix: TypeAlias = list[list[PintScalar]]
+
+# TODO: Change when Python 3.10 becomes minimal version.
+# ItMatrix: TypeAlias = Iterable[Iterable[PintScalar]]
53
+# Matrix: TypeAlias = list[list[PintScalar]]
54
+ItMatrix = Iterable[Iterable[PintScalar]]
55
+Matrix = list[list[PintScalar]]
56
57
58
def _noop(x: T) -> T:
0 commit comments