summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/polynomial/polyutils.py')
-rw-r--r--numpy/polynomial/polyutils.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/numpy/polynomial/polyutils.py b/numpy/polynomial/polyutils.py
index c8121e633..63743bb40 100644
--- a/numpy/polynomial/polyutils.py
+++ b/numpy/polynomial/polyutils.py
@@ -70,16 +70,6 @@ class PolyBase(object) :
pass
#
-# We need the any function for python < 2.5
-#
-if sys.version_info[:2] < (2,5) :
- def any(iterable) :
- for element in iterable:
- if element :
- return True
- return False
-
-#
# Helper functions to convert inputs to 1-D arrays
#
def trimseq(seq) :