[Python-checkins] python/nondist/sandbox/twister _random.c,1.14,1.15
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Sun, 29 Dec 2002 00:25:54 -0800
Update of /cvsroot/python/python/nondist/sandbox/twister
In directory sc8-pr-cvs1:/tmp/cvs-serv3945
Modified Files:
_random.c
Log Message:
Removed unneeded cast.
Index: _random.c
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/twister/_random.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** _random.c 29 Dec 2002 08:24:11 -0000 1.14
--- _random.c 29 Dec 2002 08:25:51 -0000 1.15
***************
*** 507,511 ****
Random_Type.ob_type = &PyType_Type;
m = Py_InitModule3("_random", NULL, module_doc);
! Py_INCREF((PyObject *)&Random_Type);
PyModule_AddObject(m, "Random", (PyObject *)&Random_Type);
}
--- 507,511 ----
Random_Type.ob_type = &PyType_Type;
m = Py_InitModule3("_random", NULL, module_doc);
! Py_INCREF(&Random_Type);
PyModule_AddObject(m, "Random", (PyObject *)&Random_Type);
}