summaryrefslogtreecommitdiffstats
path: root/Objects/abstract.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-28 22:30:08 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-05-28 22:30:08 (GMT)
commit4324aa3572f123883e67a807b633b3d0d452a267 (patch)
tree60fd3ab62d4cc58c75e4cf58599e3b7d59a5cfb1 /Objects/abstract.c
parent6a922372ad24a86306d70889e67edb03815d07c0 (diff)
downloadcpython-4324aa3572f123883e67a807b633b3d0d452a267.zip
cpython-4324aa3572f123883e67a807b633b3d0d452a267.tar.gz
cpython-4324aa3572f123883e67a807b633b3d0d452a267.tar.bz2
Cruft cleanup: Removed the unused last_is_sticky argument from the internal
_PyTuple_Resize().
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r--Objects/abstract.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index c1d7789..63fe7d5 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -1220,7 +1220,7 @@ PySequence_Tuple(PyObject *v)
n += 10;
else
n += 100;
- if (_PyTuple_Resize(&result, n, 0) != 0) {
+ if (_PyTuple_Resize(&result, n) != 0) {
Py_DECREF(item);
goto Fail;
}
@@ -1230,7 +1230,7 @@ PySequence_Tuple(PyObject *v)
/* Cut tuple back if guess was too large. */
if (j < n &&
- _PyTuple_Resize(&result, j, 0) != 0)
+ _PyTuple_Resize(&result, j) != 0)
goto Fail;
Py_DECREF(it);