[Python-checkins] CVS: python/dist/src/Modules _tkinter.c,1.115,1.116
Tim Peters
tim_one@users.sourceforge.net
2001年5月28日 15:30:10 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv8967/python/dist/src/Modules
Modified Files:
_tkinter.c
Log Message:
Cruft cleanup: Removed the unused last_is_sticky argument from the internal
_PyTuple_Resize().
Index: _tkinter.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_tkinter.c,v
retrieving revision 1.115
retrieving revision 1.116
diff -C2 -r1.115 -r1.116
*** _tkinter.c 2000年10月29日 00:44:43 1.115
--- _tkinter.c 2001年05月28日 22:30:08 1.116
***************
*** 1852,1856 ****
context->maxsize = maxsize;
! return _PyTuple_Resize(&context->tuple, maxsize, 0) >= 0;
}
--- 1852,1856 ----
context->maxsize = maxsize;
! return _PyTuple_Resize(&context->tuple, maxsize) >= 0;
}
***************
*** 1936,1940 ****
return NULL;
! if (_PyTuple_Resize(&context.tuple, context.size, 0))
return NULL;
--- 1936,1940 ----
return NULL;
! if (_PyTuple_Resize(&context.tuple, context.size))
return NULL;