summaryrefslogtreecommitdiffstats
path: root/Modules/config.c.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-27 15:23:19 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-27 15:23:19 (GMT)
commit577b5b960d33c822f95c142e6be6dc0c819d529e (patch)
tree9f6aae1642492ae5d60b465226b1c80e5b59184c /Modules/config.c.in
parent2086eaf79c9dc2992fef64392a9813e25f60696f (diff)
downloadcpython-577b5b960d33c822f95c142e6be6dc0c819d529e.zip
cpython-577b5b960d33c822f95c142e6be6dc0c819d529e.tar.gz
cpython-577b5b960d33c822f95c142e6be6dc0c819d529e.tar.bz2
Create _ast module.
Cleanup Python-ast.c generation.
Diffstat (limited to 'Modules/config.c.in')
-rw-r--r--Modules/config.c.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index 3b4d037..9ec281c 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -23,6 +23,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
extern void PyMarshal_Init(void);
extern void initimp(void);
extern void initgc(void);
+extern void init_ast(void);
struct _inittab _PyImport_Inittab[] = {
@@ -34,6 +35,9 @@ struct _inittab _PyImport_Inittab[] = {
/* This lives in import.c */
{"imp", initimp},
+ /* This lives in Python/Python-ast.c */
+ {"_ast", init_ast},
+
/* These entries are here for sys.builtin_module_names */
{"__main__", NULL},
{"__builtin__", NULL},