diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 15:23:19 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-27 15:23:19 (GMT) |
commit | 577b5b960d33c822f95c142e6be6dc0c819d529e (patch) | |
tree | 9f6aae1642492ae5d60b465226b1c80e5b59184c /Modules | |
parent | 2086eaf79c9dc2992fef64392a9813e25f60696f (diff) | |
download | cpython-577b5b960d33c822f95c142e6be6dc0c819d529e.zip cpython-577b5b960d33c822f95c142e6be6dc0c819d529e.tar.gz cpython-577b5b960d33c822f95c142e6be6dc0c819d529e.tar.bz2 |
Create _ast module.
Cleanup Python-ast.c generation.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/config.c.in | 4 |
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}, |