diff options
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r-- | Modules/_tkinter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 86b5c22..ceac18b 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -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; |