mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Style cleanups for pickle.py and _pickle.
This commit is contained in:
parent
f36f20f850
commit
cc7571727f
2 changed files with 9 additions and 9 deletions
|
@ -4260,8 +4260,7 @@ load_binbytes(UnpicklerObject *self)
|
|||
if (x < 0) {
|
||||
PyErr_Format(PyExc_OverflowError,
|
||||
"BINBYTES exceeds system's maximum size of %zd bytes",
|
||||
PY_SSIZE_T_MAX
|
||||
);
|
||||
PY_SSIZE_T_MAX);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -4385,8 +4384,7 @@ load_binunicode(UnpicklerObject *self)
|
|||
if (size < 0) {
|
||||
PyErr_Format(PyExc_OverflowError,
|
||||
"BINUNICODE exceeds system's maximum size of %zd bytes",
|
||||
PY_SSIZE_T_MAX
|
||||
);
|
||||
PY_SSIZE_T_MAX);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue