summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-01-28 14:59:48 (GMT)
committerFred Drake <fdrake@acm.org>1998-01-28 14:59:48 (GMT)
commit5b8b8cd6c08d8efb62d26ee6ec878a792a71d16f (patch)
tree1f438810427572ceb1e4a613ffea5d8a02f7aca2 /Demo
parentb16a3b84509f6f66f60bb3c7521b2bee70ac1b1c (diff)
downloadcpython-5b8b8cd6c08d8efb62d26ee6ec878a792a71d16f.zip
cpython-5b8b8cd6c08d8efb62d26ee6ec878a792a71d16f.tar.gz
cpython-5b8b8cd6c08d8efb62d26ee6ec878a792a71d16f.tar.bz2
Fixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>.
Diffstat (limited to 'Demo')
-rw-r--r--Demo/rpc/xdr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/rpc/xdr.py b/Demo/rpc/xdr.py
index 43abcee..41c970a 100644
--- a/Demo/rpc/xdr.py
+++ b/Demo/rpc/xdr.py
@@ -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: