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.
2 parents 98d6c3b + ae6bb29 commit baaccdaCopy full SHA for baaccda
1 file changed
src/PIL/_typing.py
@@ -12,8 +12,8 @@
12
try:
13
import numpy.typing as npt
14
15
- NumpyArray = npt.NDArray[Any] # requires numpy>=1.21
16
- except (ImportError, AttributeError):
+ NumpyArray = npt.NDArray[Any]
+ except ImportError:
17
pass
18
19
if sys.version_info >= (3, 13):
0 commit comments