The insint() function is not used. Nuke it.

This commit is contained in:
Guido van Rossum 2002-06-06 20:41:10 +00:00
parent e1c478ff8a
commit c9a55776c8

View file

@ -2560,21 +2560,6 @@ static PyMethodDef PySocket_methods[] = {
};
/* Convenience routine to export an integer value.
*
* Errors are silently ignored, for better or for worse...
*/
static void
insint(PyObject *d, char *name, int value)
{
PyObject *v = PyInt_FromLong((long) value);
if (!v || PyDict_SetItemString(d, name, v))
PyErr_Clear();
Py_XDECREF(v);
}
#ifdef MS_WINDOWS
/* Additional initialization and cleanup for NT/Windows */