mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
The insint() function is not used. Nuke it.
This commit is contained in:
parent
e1c478ff8a
commit
c9a55776c8
1 changed files with 0 additions and 15 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue