summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSeth Troisi <sethtroisi@google.com>2020-01-09 18:19:40 -0800
committerSeth Troisi <sethtroisi@google.com>2020-01-12 21:11:46 -0800
commitaddf86ba5ec6d0038993f00d782101f365ddeb6d (patch)
treece567a2e63a080616b9995c0c19633778e25557e /tools
parentb757fb34555d4c13e159ea4698608a2fc9624b92 (diff)
downloadnumpy-addf86ba5ec6d0038993f00d782101f365ddeb6d.tar.gz
MAINT: cleanup sys.version dependant code
Diffstat (limited to 'tools')
-rw-r--r--tools/npy_tempita/__init__.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/npy_tempita/__init__.py b/tools/npy_tempita/__init__.py
index 97905a16e..b84754988 100644
--- a/tools/npy_tempita/__init__.py
+++ b/tools/npy_tempita/__init__.py
@@ -639,9 +639,6 @@ class _Empty:
def __bool__(self):
return False
- if sys.version < "3":
- __nonzero__ = __bool__
-
Empty = _Empty()
del _Empty