summaryrefslogtreecommitdiff
path: root/numpy/array_api
diff options
context:
space:
mode:
authorAaron Meurer <asmeurer@gmail.com>2021-08-23 15:21:24 -0600
committerAaron Meurer <asmeurer@gmail.com>2021-08-23 15:21:24 -0600
commit9978cc5a1861533abf7c6ed7b0f4e1d732171094 (patch)
tree626c74aa09cbe7b427d29d9cd7d5a49a87d08f45 /numpy/array_api
parent22cb4f3156218abe3c20adcfaaff4fc609cc8a72 (diff)
downloadnumpy-9978cc5a1861533abf7c6ed7b0f4e1d732171094.tar.gz
Remove Python 3.7 checks from the array API code
NumPy has dropped Python 3.7, so these are no longer necessary (and they didn't completely work anyway).
Diffstat (limited to 'numpy/array_api')
-rw-r--r--numpy/array_api/__init__.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/numpy/array_api/__init__.py b/numpy/array_api/__init__.py
index 53c1f3850..1e1ff242f 100644
--- a/numpy/array_api/__init__.py
+++ b/numpy/array_api/__init__.py
@@ -120,11 +120,6 @@ Still TODO in this module are:
import sys
-# numpy.array_api is 3.8+ because it makes extensive use of positional-only
-# arguments.
-if sys.version_info < (3, 8):
- raise ImportError("The numpy.array_api submodule requires Python 3.8 or greater.")
-
import warnings
warnings.warn(