summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-04-30 12:53:09 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-04-30 12:53:09 (GMT)
commitd5c355ccc70d011ef2010537838d9a82e24b2b80 (patch)
tree93cd12a87150e673d0a8b16c04ffcaff16fea3aa /Modules
parentfab6c70770c7c895a4dbd898a963e2c52da72c04 (diff)
downloadcpython-d5c355ccc70d011ef2010537838d9a82e24b2b80.zip
cpython-d5c355ccc70d011ef2010537838d9a82e24b2b80.tar.gz
cpython-d5c355ccc70d011ef2010537838d9a82e24b2b80.tar.bz2
Issue #11223: Replace threading._info() by sys.thread_info
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_threadmodule.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/Modules/_threadmodule.c b/Modules/_threadmodule.c
index 1aee77b..8881427 100644
--- a/Modules/_threadmodule.c
+++ b/Modules/_threadmodule.c
@@ -1227,17 +1227,6 @@ requiring allocation in multiples of the system memory page size\n\
(4kB pages are common; using multiples of 4096 for the stack size is\n\
the suggested approach in the absence of more specific information).");
-static PyObject *
-thread_info(PyObject *self)
-{
- return _PyThread_Info();
-}
-
-PyDoc_STRVAR(thread_info_doc,
-"info() -> dict\n\
-\n\
-Informations about the thread implementation.");
-
static PyMethodDef thread_methods[] = {
{"start_new_thread", (PyCFunction)thread_PyThread_start_new_thread,
METH_VARARGS, start_new_doc},
@@ -1259,8 +1248,6 @@ static PyMethodDef thread_methods[] = {
METH_NOARGS, _count_doc},
{"stack_size", (PyCFunction)thread_stack_size,
METH_VARARGS, stack_size_doc},
- {"info", (PyCFunction)thread_info,
- METH_NOARGS, thread_info_doc},
{NULL, NULL} /* sentinel */
};