mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
- Added pyexpat.
- Renamed socket to _socket.
This commit is contained in:
parent
e4cd2f28c6
commit
cdb3483744
1 changed files with 9 additions and 3 deletions
|
@ -49,7 +49,7 @@ extern void initpwd();
|
|||
extern void initgrp();
|
||||
extern void initcrypt();
|
||||
extern void initselect();
|
||||
extern void initsocket();
|
||||
extern void init_socket();
|
||||
extern void initaudioop();
|
||||
extern void initimageop();
|
||||
extern void initrgbimg();
|
||||
|
@ -141,7 +141,7 @@ extern void initimgop();
|
|||
extern void init_tkinter();
|
||||
#endif
|
||||
#ifdef USE_GUSI
|
||||
extern void initsocket();
|
||||
extern void init_socket();
|
||||
extern void initselect();
|
||||
#endif
|
||||
#ifdef USE_WASTE
|
||||
|
@ -156,6 +156,9 @@ extern void initzlib();
|
|||
#ifdef WITH_THREAD
|
||||
extern void initthread();
|
||||
#endif
|
||||
#ifdef USE_PYEXPAT
|
||||
extern void initpyexpat();
|
||||
#endif
|
||||
|
||||
extern void initcPickle();
|
||||
extern void initcStringIO();
|
||||
|
@ -261,7 +264,7 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
{"_tkinter", init_tkinter},
|
||||
#endif
|
||||
#ifdef USE_GUSI
|
||||
{"socket", initsocket},
|
||||
{"_socket", init_socket},
|
||||
{"select", initselect},
|
||||
#endif
|
||||
#ifdef USE_WASTE
|
||||
|
@ -275,6 +278,9 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
#endif
|
||||
#ifdef WITH_THREAD
|
||||
{"thread", initthread},
|
||||
#endif
|
||||
#ifdef USE_PYEXPAT
|
||||
{"pyexpat", initpyexpat},
|
||||
#endif
|
||||
{"cPickle", initcPickle},
|
||||
{"cStringIO", initcStringIO},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue