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.
Final
1 parent bc4233d commit 42521cbCopy full SHA for 42521cb
ātool/testgen.py
@@ -1097,12 +1097,12 @@ class NDArrayOps(TestGen):
1097
testname = "ndarray_{}"
1098
numpy_imports_extra = ("import numpy.typing as npt",)
1099
1100
- opname: Final[_OpName]
1101
- opfunc: Final[Callable[..., Any]]
1102
- n_in: Final[Literal[1, 2]]
1103
- n_out: Final[Literal[1, 2]]
+ opname: _OpName
+ opfunc: Callable[..., Any]
+ n_in: Literal[1, 2]
+ n_out: Literal[1, 2]
1104
1105
- dtypes: Final[dict[str, tuple[np.dtype, ...]]]
+ dtypes: dict[str, tuple[np.dtype, ...]]
1106
1107
def __init__(self, opname: _OpName, /) -> None:
1108
ufunc = OP_UFUNCS[opname]
0 commit comments