summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Eendebak <pieter.eendebak@gmail.com>2022-08-04 10:44:37 +0200
committerPieter Eendebak <pieter.eendebak@gmail.com>2022-08-04 10:44:37 +0200
commit4c986e7cedde18530745dca072e06659f1fb20a9 (patch)
treef0e330c0daa614dc973973e015a246a2899654d8
parent807e4076730f926804ef68b5b048f075b4310543 (diff)
downloadnumpy-4c986e7cedde18530745dca072e06659f1fb20a9.tar.gz
PERF: Remove numpy.compat._pep440 from default imports
The submoudle numpy.compat._pep440 is removed from the default import of numpy to reduce the import time. See #22061
-rw-r--r--numpy/compat/__init__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/compat/__init__.py b/numpy/compat/__init__.py
index ff04f725a..afee621b8 100644
--- a/numpy/compat/__init__.py
+++ b/numpy/compat/__init__.py
@@ -9,7 +9,6 @@ extensions, which may be included for the following reasons:
"""
from . import _inspect
-from . import _pep440
from . import py3k
from ._inspect import getargspec, formatargspec
from .py3k import *