[pypy-svn] r72203 - pypy/trunk/pypy/objspace/std

benjamin at codespeak.net benjamin at codespeak.net
Sat Mar 13 18:29:05 CET 2010


Author: benjamin
Date: Sat Mar 13 18:29:03 2010
New Revision: 72203

Modified:
   pypy/trunk/pypy/objspace/std/stringobject.py
Log:
remove the __iter__ method, since it's pointless

Modified: pypy/trunk/pypy/objspace/std/stringobject.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/stringobject.py	(original)
+++ pypy/trunk/pypy/objspace/std/stringobject.py	Sat Mar 13 18:29:03 2010
@@ -871,10 +871,6 @@
         return w_str
     return wrapstr(space, w_str._value)
 
-def iter__String(space, w_list):
-    from pypy.objspace.std import iterobject
-    return iterobject.W_SeqIterObject(w_list)
-
 def ord__String(space, w_str):
     u_str = w_str._value
     if len(u_str) != 1:



More information about the Pypy-commit mailing list