summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2019-08-26 18:00:43 +0300
committerHugo <hugovk@users.noreply.github.com>2019-08-26 18:23:07 +0300
commit5c02fedbe1585a8e2ae530ec34d44dc80eadd4e5 (patch)
treeeab4a93d50a3ec03edd21ee63c32cf2403251ba5 /tools
parente7c1f8e789d8ccea6034f791393a2122e1237886 (diff)
downloadnumpy-5c02fedbe1585a8e2ae530ec34d44dc80eadd4e5.tar.gz
BUG: Fix for Python 4
Diffstat (limited to 'tools')
-rw-r--r--tools/npy_tempita/compat3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/npy_tempita/compat3.py b/tools/npy_tempita/compat3.py
index eb890ca14..01d771345 100644
--- a/tools/npy_tempita/compat3.py
+++ b/tools/npy_tempita/compat3.py
@@ -5,7 +5,7 @@ import sys
__all__ = ['PY3', 'b', 'basestring_', 'bytes', 'next', 'is_unicode',
'iteritems']
-PY3 = True if sys.version_info[0] == 3 else False
+PY3 = True if sys.version_info[0] >= 3 else False
if sys.version_info[0] < 3: