projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb8cfa
)
Use proper function name in exception messages
author
Neal Norwitz
<nnorwitz@gmail.com>
Tue, 28 Jan 2003 00:20:41 +0000
(
00:20
+0000)
committer
Neal Norwitz
<nnorwitz@gmail.com>
Tue, 28 Jan 2003 00:20:41 +0000
(
00:20
+0000)
Lib/pickletools.py
patch
|
blob
|
history
diff --git
a/Lib/pickletools.py
b/Lib/pickletools.py
index 2f52f3b6af553fb7f7454d2933c5c39da9e3a468..152ea8816cbfe5138ad6fe63e49fa57402827a9f 100644
(file)
--- a/
Lib/pickletools.py
+++ b/
Lib/pickletools.py
@@
-653,10
+653,10
@@
def read_long4(f):
n = read_int4(f)
if n < 0:
- raise ValueError("
unicodestri
ng4 byte count < 0: %d" % n)
+ raise ValueError("
lo
ng4 byte count < 0: %d" % n)
data = f.read(n)
if len(data) != n:
- raise ValueError("not enough data in stream to read long
1
")
+ raise ValueError("not enough data in stream to read long
4
")
return decode_long(data)
long4 = ArgumentDescriptor(