[Python-checkins] CVS: python/dist/src/Modules spam.c,1.1.2.3,1.1.2.4
Guido van Rossum
gvanrossum@users.sourceforge.net
Mon, 14 May 2001 14:41:43 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv9857
Modified Files:
Tag: descr-branch
spam.c
Log Message:
Suppress warnings about type of tp_construct.
Index: spam.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/Attic/spam.c,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -C2 -r1.1.2.3 -r1.1.2.4
*** spam.c 2001/05/06 02:31:13 1.1.2.3
--- spam.c 2001/05/14 21:41:41 1.1.2.4
***************
*** 95,99 ****
0, /* tp_descr_get */
0, /* tp_descr_set */
! spamlist_construct, /* tp_construct */
};
--- 95,99 ----
0, /* tp_descr_get */
0, /* tp_descr_set */
! (ternaryfunc)spamlist_construct, /* tp_construct */
};
***************
*** 198,202 ****
0, /* tp_descr_get */
0, /* tp_descr_set */
! spamdict_construct, /* tp_construct */
};
--- 198,202 ----
0, /* tp_descr_get */
0, /* tp_descr_set */
! (ternaryfunc)spamdict_construct, /* tp_construct */
};