[Python-checkins] r68307 - sandbox/trunk/2to3/lib2to3/fixes/fix_urllib.py

benjamin.peterson python-checkins at python.org
Sun Jan 4 19:30:01 CET 2009


Author: benjamin.peterson
Date: Sun Jan  4 19:30:01 2009
New Revision: 68307

Log:
remove duplicated function

Modified:
   sandbox/trunk/2to3/lib2to3/fixes/fix_urllib.py

Modified: sandbox/trunk/2to3/lib2to3/fixes/fix_urllib.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/fixes/fix_urllib.py	(original)
+++ sandbox/trunk/2to3/lib2to3/fixes/fix_urllib.py	Sun Jan  4 19:30:01 2009
@@ -44,9 +44,6 @@
 # Duplicate the url parsing functions for urllib2.
 MAPPING["urllib2"].append(MAPPING["urllib"][1])
 
-# def alternates(members):
-#     return "(" + "|".join(map(repr, members)) + ")"
-
 
 def build_pattern():
     bare = set()


More information about the Python-checkins mailing list