[pypy-commit] pypy faster-rstruct-2: bah
antocuni
pypy.commits at gmail.com
Mon May 15 11:13:01 EDT 2017
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: faster-rstruct-2
Changeset: r91303:bc40c2c21a98
Date: 2017-05-15 17:11 +0200
http://bitbucket.org/pypy/pypy/changeset/bc40c2c21a98/
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
@@ -1286,7 +1286,7 @@
if start != 0 or stop != len(data):
data = data[start:stop]
return "".join(data)
- return Buffer.getslice(self, start, stop, step, size)
+ return GCBuffer.getslice(self, start, stop, step, size)
def setslice(self, start, string):
# No bounds checks.
More information about the pypy-commit
mailing list