Author: Philip Jenvey <[email protected]>
Branch: length-hint
Changeset: r57755:3eea894217c9
Date: 2012-10-02 16:11 -0700
http://bitbucket.org/pypy/pypy/changeset/3eea894217c9/

Log:    restore iadd__List_List, it's still needed to override
        add__List_List

diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py
--- a/pypy/objspace/std/listobject.py
+++ b/pypy/objspace/std/listobject.py
@@ -1189,6 +1189,10 @@
         raise
     return w_list1
 
+def inplace_add__List_List(space, w_list1, w_list2):
+    list_extend__List_ANY(space, w_list1, w_list2)
+    return w_list1
+
 def mul_list_times(space, w_list, w_times):
     try:
         times = space.getindex_w(w_times, space.w_OverflowError)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to