Kaydet (Commit) 5b8b8cd6 authored tarafından Fred Drake's avatar Fred Drake

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

üst b16a3b84
...@@ -158,7 +158,7 @@ class Unpacker: ...@@ -158,7 +158,7 @@ class Unpacker:
data = self.buf[i:j] data = self.buf[i:j]
if len(data) < 8: if len(data) < 8:
raise EOFError raise EOFError
return struct.unpack('8', data)[0] return struct.unpack('d', data)[0]
def unpack_fstring(self, n): def unpack_fstring(self, n):
if n < 0: 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