Commits

Philip Jenvey committed e2fd970

fix bytes result

Comments (0)

Files changed (1)

pypy/module/array/interp_array.py

         """
         size = self.len
         if size == 0:
-            return space.wrap('')
+            return space.wrapbytes('')
         cbuf = self._charbuf_start()
         s = rffi.charpsize2str(cbuf, size * self.itemsize)
         self._charbuf_stop()