mirror of
https://github.com/python/cpython
synced 2026-09-29 08:45:29 +03:00
Added support for the gc module (!).
This commit is contained in:
parent
14e1871607
commit
50cb38df43
1 changed files with 6 additions and 0 deletions
|
|
@ -162,6 +162,9 @@ extern void initthread();
|
|||
#ifdef USE_PYEXPAT
|
||||
extern void initpyexpat();
|
||||
#endif
|
||||
#ifdef WITH_CYCLE_GC
|
||||
extern void initgc();
|
||||
#endif
|
||||
|
||||
extern void initcPickle();
|
||||
extern void initcStringIO();
|
||||
|
|
@ -285,6 +288,9 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
#endif
|
||||
#ifdef USE_PYEXPAT
|
||||
{"pyexpat", initpyexpat},
|
||||
#endif
|
||||
#ifdef WITH_CYCLE_GC
|
||||
{"gc", initgc},
|
||||
#endif
|
||||
{"cPickle", initcPickle},
|
||||
{"cStringIO", initcStringIO},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue