diff options
| author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-04-08 22:07:05 +0000 |
|---|---|---|
| committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-04-08 22:07:05 +0000 |
| commit | 8603891d60f904894d139f36edc65b860c3cdb7c (patch) | |
| tree | d8ff05892e6865e45b9ae3adbf276b9b6bcf844c /PC/config.c | |
| parent | ff826c8f6822cb9f13571f7e9162ac7318328737 (diff) | |
| download | cpython-8603891d60f904894d139f36edc65b860c3cdb7c.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.c | 3 |
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} }; |
