summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/listobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 72b2356..c95d530 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -862,7 +862,7 @@ listpop(PyListObject *self, PyObject *args)
/* Use status, so that in a release build compilers don't
* complain about the unused name.
*/
- return status, v;
+ return status++, v;
}
/* Reverse a slice of a list in place, from lo up to (exclusive) hi. */