summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2013-04-14 09:25:10 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2013-04-14 09:25:10 (GMT)
commitcc7571727f2f5734af4a50940237e98dcb778d96 (patch)
tree437d1891e31fd35903cd958e7ced8728dfddc6b9 /Modules/_pickle.c
parentf36f20f850c10e8828ada85507680eb6529ef920 (diff)
downloadcpython-cc7571727f2f5734af4a50940237e98dcb778d96.zip
cpython-cc7571727f2f5734af4a50940237e98dcb778d96.tar.gz
cpython-cc7571727f2f5734af4a50940237e98dcb778d96.tar.bz2
Style cleanups for pickle.py and _pickle.
Diffstat (limited to 'Modules/_pickle.c')
-rw-r--r--Modules/_pickle.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index b4dbe2f..146dccc 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -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;
}