Author: Antonio Cuni <[email protected]>
Branch: faster-rstruct-2
Changeset: r91309:eace635b2834
Date: 2017-05-16 11:51 +0200
http://bitbucket.org/pypy/pypy/changeset/eace635b2834/
Log: bah
diff --git a/pypy/objspace/std/bytearrayobject.py
b/pypy/objspace/std/bytearrayobject.py
--- a/pypy/objspace/std/bytearrayobject.py
+++ b/pypy/objspace/std/bytearrayobject.py
@@ -1289,7 +1289,7 @@
if start != 0 or stop != len(data):
data = data[start:stop]
return "".join(data)
- return GCBuffer.getslice(self, start, stop, step, size)
+ return Buffer.getslice(self, start, stop, step, size)
def setslice(self, start, string):
# No bounds checks.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit