Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
784a3f53
Commit
784a3f53
authored
Jan 28, 2003
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use proper function name in exception messages
parent
fdb8cfab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/pickletools.py
Lib/pickletools.py
+2
-2
No files found.
Lib/pickletools.py
View file @
784a3f53
...
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment