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

Skip to content

Commit 5681acb

Browse files
committed
Added zipimport and _random module.
1 parent fb08b4c commit 5681acb

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

Mac/Build/PythonCore.mcp

0 Bytes
Binary file not shown.

Mac/Build/PythonStandSmall.mcp

0 Bytes
Binary file not shown.

Mac/Modules/macconfig.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ extern void init_hotshot();
167167
extern void initpyexpat();
168168
#endif
169169
extern void initgc();
170+
extern void init_random();
170171

171172
extern void initcPickle();
172173
extern void initcStringIO();
@@ -175,6 +176,7 @@ extern void initsha();
175176
extern void init_locale();
176177
extern void init_sre();
177178
extern void initxreadlines();
179+
extern void initzipimport();
178180
/* -- ADDMODULE MARKER 1 -- */
179181

180182
extern void PyMarshal_Init();
@@ -292,11 +294,13 @@ struct _inittab _PyImport_Inittab[] = {
292294
{"pyexpat", initpyexpat},
293295
#endif
294296
{"gc", initgc},
297+
{"_random", init_random},
295298
{"cPickle", initcPickle},
296299
{"cStringIO", initcStringIO},
297300
{"_locale", init_locale},
298301
{"_sre", init_sre},
299302
{"xreadlines", initxreadlines},
303+
{"zipimport", initzipimport},
300304
/* -- ADDMODULE MARKER 2 -- */
301305

302306
/* This module "lives in" with marshal.c */

0 commit comments

Comments
 (0)