summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2012-03-12 22:41:07 (GMT)
committerŁukasz Langa <lukasz@langa.pl>2012-03-12 22:41:07 (GMT)
commitcad1a07becec983d35c440c63150a1e73cacd7c7 (patch)
treec4d3eb35cfbed9772b4919ac8c03b67c1ba64c9e /Modules/_pickle.c
parentf2bb8898eac404301821c2d1cae9f9614d9bde29 (diff)
downloadcpython-cad1a07becec983d35c440c63150a1e73cacd7c7.zip
cpython-cad1a07becec983d35c440c63150a1e73cacd7c7.tar.gz
cpython-cad1a07becec983d35c440c63150a1e73cacd7c7.tar.bz2
minor PEP7-related fix
Diffstat (limited to 'Modules/_pickle.c')
-rw-r--r--Modules/_pickle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index 36aa9e0..9410e52 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -2816,7 +2816,7 @@ save_ellipsis(PicklerObject *self, PyObject *obj)
{
PyObject *str = PyUnicode_FromString("Ellipsis");
if (str == NULL)
- return -1;
+ return -1;
return save_global(self, Py_Ellipsis, str);
}
@@ -2825,7 +2825,7 @@ save_notimplemented(PicklerObject *self, PyObject *obj)
{
PyObject *str = PyUnicode_FromString("NotImplemented");
if (str == NULL)
- return -1;
+ return -1;
return save_global(self, Py_NotImplemented, str);
}