[Bug #1579796] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by...
[pytest.git] / Modules / config.c.in
blob8c25eea2e94a17bf0b3415942e2728c365fd4589
1 /* -*- C -*- ***********************************************
2 Copyright (c) 2000, BeOpen.com.
3 Copyright (c) 1995-2000, Corporation for National Research Initiatives.
4 Copyright (c) 1990-1995, Stichting Mathematisch Centrum.
5 All rights reserved.
7 See the file "Misc/COPYRIGHT" for information on usage and
8 redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
9 ******************************************************************/
11 /* Module configuration */
13 /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */
15 /* This file contains the table of built-in modules.
16 See init_builtin() in import.c. */
18 #include "Python.h"
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
25 /* -- ADDMODULE MARKER 1 -- */
27 extern void PyMarshal_Init(void);
28 extern void initimp(void);
29 extern void initgc(void);
30 extern void init_ast(void);
31 extern void init_types(void);
33 struct _inittab _PyImport_Inittab[] = {
35 /* -- ADDMODULE MARKER 2 -- */
37 /* This module lives in marshal.c */
38 {"marshal", PyMarshal_Init},
40 /* This lives in import.c */
41 {"imp", initimp},
43 /* This lives in Python/Python-ast.c */
44 {"_ast", init_ast},
46 /* This lives in Python/_types.c */
47 {"_types", init_types},
49 /* These entries are here for sys.builtin_module_names */
50 {"__main__", NULL},
51 {"__builtin__", NULL},
52 {"sys", NULL},
53 {"exceptions", NULL},
55 /* This lives in gcmodule.c */
56 {"gc", initgc},
58 /* Sentinel */
59 {0, 0}
63 #ifdef __cplusplus
65 #endif