mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Cruft cleanup: Removed the unused last_is_sticky argument from the internal
_PyTuple_Resize().
This commit is contained in:
parent
6a922372ad
commit
4324aa3572
6 changed files with 15 additions and 10 deletions
|
|
@ -1851,7 +1851,7 @@ _bump(FlattenContext* context, int size)
|
|||
|
||||
context->maxsize = maxsize;
|
||||
|
||||
return _PyTuple_Resize(&context->tuple, maxsize, 0) >= 0;
|
||||
return _PyTuple_Resize(&context->tuple, maxsize) >= 0;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
@ -1935,7 +1935,7 @@ Tkinter_Flatten(PyObject* self, PyObject* args)
|
|||
if (!_flatten1(&context, item,0))
|
||||
return NULL;
|
||||
|
||||
if (_PyTuple_Resize(&context.tuple, context.size, 0))
|
||||
if (_PyTuple_Resize(&context.tuple, context.size))
|
||||
return NULL;
|
||||
|
||||
return context.tuple;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue