summaryrefslogtreecommitdiff
path: root/PC/config.c
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-04-08 22:07:05 +0000
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-04-08 22:07:05 +0000
commit7adc776ea6ab808a4bf8fbf2740bb3bb9a7928a4 (patch)
treec9ba8bbc4fd541cd5761c5de0e92d782b3e3ddf0 /PC/config.c
parent24f3c5c646d26350e4de6a878fed3e6db1e4ff9a (diff)
downloadcpython-git-7adc776ea6ab808a4bf8fbf2740bb3bb9a7928a4.tar.gz
Issue 2408: remove the _types module
It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType), when they can easily be obtained with python code. These expressions even work with Jython. I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 ) at least this change makes it simpler.
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/PC/config.c b/PC/config.c
index 816edcacd2..9cce923572 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -66,7 +66,6 @@ extern void init_codecs_tw(void);
extern void init_subprocess(void);
extern void init_lsprof(void);
extern void init_ast(void);
-extern void init_types(void);
/* tools/freeze/makeconfig.py marker for additional "extern" */
/* -- ADDMODULE MARKER 1 -- */
@@ -161,8 +160,6 @@ struct _inittab _PyImport_Inittab[] = {
{"sys", NULL},
{"exceptions", NULL},
- {"_types", init_types},
-
/* Sentinel */
{0, 0}
};