diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-05-28 22:30:08 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-05-28 22:30:08 (GMT) |
commit | 4324aa3572f123883e67a807b633b3d0d452a267 (patch) | |
tree | 60fd3ab62d4cc58c75e4cf58599e3b7d59a5cfb1 /Objects/abstract.c | |
parent | 6a922372ad24a86306d70889e67edb03815d07c0 (diff) | |
download | cpython-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.c | 4 |
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); |