mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
Fixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>.
This commit is contained in:
parent
b16a3b8450
commit
5b8b8cd6c0
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue