Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d0e19e

Browse files
committed
gcmodule is now enabled here
1 parent 43411b5 commit 7d0e19e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Modules/config.c.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
2222

2323
extern void PyMarshal_Init(void);
2424
extern void initimp(void);
25+
extern void initgc(void);
2526

2627
struct _inittab _PyImport_Inittab[] = {
2728

@@ -39,6 +40,11 @@ struct _inittab _PyImport_Inittab[] = {
3940
{"sys", NULL},
4041
{"exceptions", NULL},
4142

43+
#ifdef WITH_CYCLE_GC
44+
/* This lives in gcmodule.c */
45+
{"gc", initgc},
46+
#endif
47+
4248
/* Sentinel */
4349
{0, 0}
4450
};

0 commit comments

Comments
 (0)