aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-07-03 14:16:40 -0400
committerJason R. Coombs <jaraco@jaraco.com>2013-07-03 14:16:40 -0400
commited30b72b2d7a36ca72cf5aedf84d771bbfbeef81 (patch)
tree07afe17ca6f23e2d30d12047b13175b55a4a4a8a /pkg_resources.py
parente0764d14a608fa8c2f420ea9f843072987a18a16 (diff)
downloadexternal_python_setuptools-ed30b72b2d7a36ca72cf5aedf84d771bbfbeef81.tar.gz
external_python_setuptools-ed30b72b2d7a36ca72cf5aedf84d771bbfbeef81.tar.bz2
external_python_setuptools-ed30b72b2d7a36ca72cf5aedf84d771bbfbeef81.zip
No need to thunk here - the preferred module is already imported above
Diffstat (limited to 'pkg_resources.py')
-rw-r--r--pkg_resources.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index ec1ba1fb..74ab231d 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -1972,15 +1972,6 @@ def find_in_zip(importer, path_item, only=False):
register_finder(zipimport.zipimporter, find_in_zip)
-def StringIO(*args, **kw):
- """Thunk to load the real StringIO on demand"""
- global StringIO
- try:
- from cStringIO import StringIO
- except ImportError:
- from io import StringIO
- return StringIO(*args,**kw)
-
def find_nothing(importer, path_item, only=False):
return ()
register_finder(object,find_nothing)