diff options
author | Fred Drake <fdrake@acm.org> | 1998-01-28 14:59:48 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-01-28 14:59:48 (GMT) |
commit | 5b8b8cd6c08d8efb62d26ee6ec878a792a71d16f (patch) | |
tree | 1f438810427572ceb1e4a613ffea5d8a02f7aca2 | |
parent | b16a3b84509f6f66f60bb3c7521b2bee70ac1b1c (diff) | |
download | cpython-5b8b8cd6c08d8efb62d26ee6ec878a792a71d16f.zip cpython-5b8b8cd6c08d8efb62d26ee6ec878a792a71d16f.tar.gz cpython-5b8b8cd6c08d8efb62d26ee6ec878a792a71d16f.tar.bz2 |
Fixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>.
-rw-r--r-- | Demo/rpc/xdr.py | 2 |
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: |