aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-03 02:21:13 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-03 02:21:13 -0500
commit26a1521e870855ef89e6481f94293cded8237571 (patch)
tree270662119438670ded7b5d2229d4a24cd1d7676c /pkg_resources
parentba8336727d818011c3bdd19c02f0ad92f59a5c7a (diff)
downloadexternal_python_setuptools-26a1521e870855ef89e6481f94293cded8237571.tar.gz
external_python_setuptools-26a1521e870855ef89e6481f94293cded8237571.tar.bz2
external_python_setuptools-26a1521e870855ef89e6481f94293cded8237571.zip
Remove remaining reference to setuptools from test_resources
Diffstat (limited to 'pkg_resources')
-rw-r--r--pkg_resources/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index ac3807d8..f004315a 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -52,6 +52,8 @@ if PY3:
else:
string_types = str, eval('unicode')
+iteritems = (lambda i: i.items()) if PY3 else lambda i: i.iteritems()
+
# capture these to bypass sandboxing
from os import utime
try: