[pypy-commit] pypy faster-rstruct-2: bah

antocuni pypy.commits at gmail.com
Tue May 16 05:51:58 EDT 2017


Author: Antonio Cuni <anto.cuni at gmail.com>
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.


More information about the pypy-commit mailing list