summaryrefslogtreecommitdiff
path: root/pkg_resources
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-11-30 11:28:57 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-11-30 11:28:57 -0500
commit7a37ebfae2843651e41d481794d19adff2eb110d (patch)
treef741f8d5bb66a1f4af00cf46f3e56ac5c9761624 /pkg_resources
parent07199bdc471d257822a56fb7c75bc1d4c7ccc36f (diff)
downloadpython-setuptools-git-7a37ebfae2843651e41d481794d19adff2eb110d.tar.gz
Always use Python 3 map in pkg_resources
Diffstat (limited to 'pkg_resources')
-rw-r--r--pkg_resources/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index 0bd27d46..eaebb2fa 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -55,6 +55,7 @@ if PY3:
if PY2:
from urlparse import urlparse, urlunparse
filter = itertools.ifilter
+ map = itertools.imap
if PY3:
string_types = str,