summaryrefslogtreecommitdiff
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-05-31 21:47:02 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2002-05-31 21:47:02 +0000
commit8a946886de689afe5c3eea49baba7e3540a5fa7a (patch)
tree871268bb9cf052ab60b8bde28c96e3a4a66474a0 /Modules/selectmodule.c
parenta55f47b2082aa24e0b4aede81fbb4130be14b7e7 (diff)
downloadcpython-8a946886de689afe5c3eea49baba7e3540a5fa7a.tar.gz
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 03c222ad47..bdd3a52178 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)
{