[pypy-svn] r77006 - pypy/branch/fast-forward/lib_pypy

afa at codespeak.net afa at codespeak.net
Sat Sep 11 00:38:14 CEST 2010


Author: afa
Date: Sat Sep 11 00:38:12 2010
New Revision: 77006

Modified:
   pypy/branch/fast-forward/lib_pypy/struct.py
Log:
Fix a probable typo


Modified: pypy/branch/fast-forward/lib_pypy/struct.py
==============================================================================
--- pypy/branch/fast-forward/lib_pypy/struct.py	(original)
+++ pypy/branch/fast-forward/lib_pypy/struct.py	Sat Sep 11 00:38:12 2010
@@ -119,7 +119,7 @@
     unsigned = 0
     for i in range(8):
         unsigned |= ord(binary[i]) << (i * 8)
-    return float_unpack(unsigned, size)
+    return float_unpack(unsigned, size, le)
 
 def round_to_nearest(x):
     """Python 3 style round:  round a float x to the nearest int, but



More information about the Pypy-commit mailing list