From: Fred Drake Date: Wed, 28 Jan 1998 14:59:48 +0000 (+0000) Subject: Fixed typo reported by Grzegorz Makarewicz . X-Git-Tag: v1.5.1~884 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b8b8cd6c08d8efb62d26ee6ec878a792a71d16f;p=python Fixed typo reported by Grzegorz Makarewicz . --- diff --git a/Demo/rpc/xdr.py b/Demo/rpc/xdr.py index 43abcee5a4..41c970ae91 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: