diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-02-28 10:58:40 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-02-28 10:58:40 -0700 |
commit | b990ed5a18b58715fa1e13642bc7f6761e597818 (patch) | |
tree | 1c00d8287357e42d3e4cbc08291b939851ad10c1 /setup.py | |
parent | 0934653e151969f6912c911b5113306bd5f450f1 (diff) | |
download | numpy-b990ed5a18b58715fa1e13642bc7f6761e597818.tar.gz |
2to3: Apply `filter` fixes. Closes #3053.
Generally, this involves using list comprehension, or explicit list
construction as `filter` is an iterator in Python 3.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ LONG_DESCRIPTION = "\n".join(DOCLINES[2:]) URL = "http://www.numpy.org" DOWNLOAD_URL = "http://sourceforge.net/projects/numpy/files/NumPy/" LICENSE = 'BSD' -CLASSIFIERS = filter(None, CLASSIFIERS.split('\n')) +CLASSIFIERS = [_f for _f in CLASSIFIERS.split('\n') if _f] AUTHOR = "Travis E. Oliphant et al." AUTHOR_EMAIL = "oliphant@enthought.com" PLATFORMS = ["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"] |