[Python-checkins] r67399 - sandbox/trunk/2to3/lib2to3/fixer_base.py
benjamin.peterson
python-checkins at python.org
Wed Nov 26 18:47:03 CET 2008
Author: benjamin.peterson
Date: Wed Nov 26 18:47:03 2008
New Revision: 67399
Log:
remove more compatibility code
Modified:
sandbox/trunk/2to3/lib2to3/fixer_base.py
Modified: sandbox/trunk/2to3/lib2to3/fixer_base.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/fixer_base.py (original)
+++ sandbox/trunk/2to3/lib2to3/fixer_base.py Wed Nov 26 18:47:03 2008
@@ -7,12 +7,6 @@
import logging
import itertools
-# Get a usable 'set' constructor
-try:
- set
-except NameError:
- from sets import Set as set
-
# Local imports
from .patcomp import PatternCompiler
from . import pygram
More information about the Python-checkins
mailing list