[Python-checkins] python/dist/src/Modules selectmodule.c,2.62,2.63

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Fri, 31 May 2002 14:47:05 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv14127

Modified Files:
	selectmodule.c 
Log Message:
Remove unused static function

Index: selectmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/selectmodule.c,v
retrieving revision 2.62
retrieving revision 2.63
diff -C2 -d -r2.62 -r2.63
*** selectmodule.c	1 Apr 2002 14:53:37 -0000	2.62
--- selectmodule.c	31 May 2002 21:47:02 -0000	2.63
***************
*** 636,658 ****
  On Windows, only sockets are supported; on Unix, all file descriptors.";
  
- /*
-  * Convenience routine to export an integer value.
-  * For simplicity, errors (which are unlikely anyway) are ignored.
-  */
- 
- static void
- insint(PyObject *d, char *name, int value)
- {
- 	PyObject *v = PyInt_FromLong((long) value);
- 	if (v == NULL) {
- 		/* Don't bother reporting this error */
- 		PyErr_Clear();
- 	}
- 	else {
- 		PyDict_SetItemString(d, name, v);
- 		Py_DECREF(v);
- 	}
- }
- 
  DL_EXPORT(void)
  initselect(void)
--- 636,639 ----