summaryrefslogtreecommitdiffstats
path: root/Modules
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 /Modules
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 'Modules')
-rw-r--r--Modules/_tkinter.c4
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;