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

This commit is contained in:
Fred Drake 1998-01-28 14:59:48 +00:00
parent b16a3b8450
commit 5b8b8cd6c0

View file

@ -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: