Kaydet (Commit) c9a55776 authored tarafından Guido van Rossum's avatar Guido van Rossum

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

üst e1c478ff
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment