From 5b8b8cd6c08d8efb62d26ee6ec878a792a71d16f Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 28 Jan 1998 14:59:48 +0000 Subject: Fixed typo reported by Grzegorz Makarewicz . --- Demo/rpc/xdr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12