Source

pypy / lib_pypy / struct.py

Diff from to

File lib_pypy/struct.py

     return ''.join(result)
 
 def unpack_float(data, index, size, le):
-    binary = data[index:index + 8]
+    binary = [data[i] for i in range(index, index + 8)]
     if le == "big":
         binary.reverse()
     unsigned = 0