Commits

Manuel Jacob committed b1b930c

hg backout ce51a8cf30f4

  • Participants
  • Parent commits dca1c35
  • Branches py3k

Comments (0)

Files changed (1)

lib_pypy/_ctypes/array.py

     l = [self[i] for i in range(start, stop, step)]
     letter = getattr(self._type_, '_type_', None)
     if letter == 'c':
-        return bytes(l)
+        return b"".join(l)
     if letter == 'u':
         return "".join(l)
     return l