[wwwsearch-commits] r32986 - wwwsearch/mechanize/trunk/mechanize

jjlee at codespeak.net jjlee at codespeak.net
Sat Oct 7 14:51:39 CEST 2006


Author: jjlee
Date: Sat Oct  7 14:51:38 2006
New Revision: 32986

Modified:
   wwwsearch/mechanize/trunk/mechanize/_util.py
Log:
Remove some unused code

Modified: wwwsearch/mechanize/trunk/mechanize/_util.py
==============================================================================
--- wwwsearch/mechanize/trunk/mechanize/_util.py	(original)
+++ wwwsearch/mechanize/trunk/mechanize/_util.py	Sat Oct  7 14:51:38 2006
@@ -15,15 +15,6 @@
     except: return False
     else: return True
 
-SPACE_DICT = {}
-for c in string.whitespace:
-    SPACE_DICT[c] = None
-del c
-def isspace(string):
-    for c in string:
-        if not SPACE_DICT.has_key(c): return False
-    return True
-
 ## def caller():
 ##     try:
 ##         raise SyntaxError


More information about the wwwsearch-commits mailing list