Author: Alex Gaynor <[email protected]>
Branch: kill-single-impl-multimethods
Changeset: r46301:cee602b3d30a
Date: 2011-08-05 19:21 -0700
http://bitbucket.org/pypy/pypy/changeset/cee602b3d30a/
Log: Translation fix.
diff --git a/pypy/objspace/std/bytearraytype.py
b/pypy/objspace/std/bytearraytype.py
--- a/pypy/objspace/std/bytearraytype.py
+++ b/pypy/objspace/std/bytearraytype.py
@@ -106,6 +106,7 @@
def descr_extend(self, space, w_other):
if space.isinstance_w(w_other, space.w_bytearray):
+ assert isinstance(w_other, W_BytearrayObject)
self.data += w_other.data
else:
self.data += makebytearraydata_w(space, w_other)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit