summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-05-31 21:47:02 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-05-31 21:47:02 (GMT)
commit3e12905e034c22d067c37d42f8627108f9b25f2d (patch)
tree62e61f1c98426344945d4dc05119a6a989e20c34 /Modules/selectmodule.c
parent14bd6de0ec6468487598f4ad4c14aa0a2742e641 (diff)
downloadcpython-3e12905e034c22d067c37d42f8627108f9b25f2d.zip
cpython-3e12905e034c22d067c37d42f8627108f9b25f2d.tar.gz
cpython-3e12905e034c22d067c37d42f8627108f9b25f2d.tar.bz2
Remove unused static function
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 03c222a..bdd3a52 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -635,25 +635,6 @@ static char module_doc[] =
*** IMPORTANT NOTICE ***\n\
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)
{