Commit 25d4b3e0 authored by Fred Drake's avatar Fred Drake

Fixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>.

parent 364a7c4f
......@@ -158,7 +158,7 @@ class Unpacker:
data = self.buf[i:j]
if len(data) < 8:
raise EOFError
return struct.unpack('8', data)[0]
return struct.unpack('d', data)[0]
def unpack_fstring(self, n):
if n < 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment