blob: cb64061e45fe5ebab770bdbd9850c027a1984fca (
plain)
1
2
3
4
5
6
7
8
|
import numpy as np
class Test(np.nditer): ... # type: ignore[misc]
np.nditer([0, 1], flags=["test"]) # type: ignore[list-item]
np.nditer([0, 1], op_flags=[["test"]]) # type: ignore[list-item]
np.nditer([0, 1], itershape=(1.0,)) # type: ignore[arg-type]
np.nditer([0, 1], buffersize=1.0) # type: ignore[arg-type]
|