summaryrefslogtreecommitdiff
path: root/setuptools/extern
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/extern')
-rw-r--r--setuptools/extern/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/extern/__init__.py b/setuptools/extern/__init__.py
index 52785a03..cb2fa329 100644
--- a/setuptools/extern/__init__.py
+++ b/setuptools/extern/__init__.py
@@ -48,7 +48,7 @@ class VendorImporter:
# on later Python versions to cause relative imports
# in the vendor package to resolve the same modules
# as those going through this importer.
- if sys.version_info.major >= 3:
+ if sys.version_info >= (3, ):
del sys.modules[extant]
return mod
except ImportError: