diff MySQLdb/__init__.py @ 51:6122b2cacd20 MySQLdb

set and frozenset always available in Python 2.4 and newer
author adustman
date Sun, 22 Feb 2009 20:09:56 +0000
parents df4d804244ec
children 228a45771d14
line wrap: on
line diff
--- a/MySQLdb/__init__.py	Sun Feb 22 20:07:15 2009 +0000
+++ b/MySQLdb/__init__.py	Sun Feb 22 20:09:56 2009 +0000
@@ -30,10 +30,6 @@
 from MySQLdb.times import Date, Time, Timestamp, \
     DateFromTicks, TimeFromTicks, TimestampFromTicks
 
-try:
-    frozenset
-except NameError:
-    from sets import ImmutableSet as frozenset
 
 class DBAPISet(frozenset):
     """A special type of set for which A == x is True if A is a