diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-04-21 22:52:15 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-04-24 19:29:58 -0600 |
commit | c92d924dd3dfa9eb97f65848e04ec9391709bc09 (patch) | |
tree | 665040ee28bf7b5f0885b8e7b21ac82bb472c8a5 /numpy/polynomial/polyutils.py | |
parent | d0d8d1c1deb28fb2b43c7180cd0e293608b6964e (diff) | |
download | numpy-c92d924dd3dfa9eb97f65848e04ec9391709bc09.tar.gz |
MAINT: Remove unneeded version checks.
Now that only Python versions 2.6-2.7 and 3.2-3.3 are supported
some version checks are no longer needed. This patch removes them
so as to clean up the code.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
-rw-r--r-- | numpy/polynomial/polyutils.py | 10 |
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) : |