aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-09-18 07:16:33 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-09-18 07:16:33 -0400
commit26e4f9534a35fc13ec2c5e111e639d4af03e5644 (patch)
tree9b6d45025ff19c4f39e67b4a8fe6588051ca7a1e
parentda99f1334e36171fdd2c4bbb7dee4845c6ad7dc5 (diff)
downloadexternal_python_setuptools-26e4f9534a35fc13ec2c5e111e639d4af03e5644.tar.gz
external_python_setuptools-26e4f9534a35fc13ec2c5e111e639d4af03e5644.tar.bz2
external_python_setuptools-26e4f9534a35fc13ec2c5e111e639d4af03e5644.zip
Remove conditional import for frozenset (available in Python 2.6+)
-rw-r--r--pkg_resources.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index 9992b17d..a0566688 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -44,10 +44,6 @@ except ImportError:
from urllib.parse import urlparse, urlunparse
try:
- frozenset
-except NameError:
- from sets import ImmutableSet as frozenset
-try:
basestring
next = lambda o: o.next()
from cStringIO import StringIO as BytesIO