mirror of https://github.com/python/cpython
Support socket module
This commit is contained in:
parent
efc0bd02e5
commit
49955ae360
|
@ -103,6 +103,9 @@ extern void initpanel();
|
|||
#ifdef USE_STDWIN
|
||||
extern void initstdwin();
|
||||
#endif
|
||||
#ifdef USE_SOCKET
|
||||
extern void initsocket();
|
||||
#endif
|
||||
|
||||
struct {
|
||||
char *name;
|
||||
|
@ -144,5 +147,9 @@ struct {
|
|||
{"stdwin", initstdwin},
|
||||
#endif
|
||||
|
||||
#ifdef USE_SOCKET
|
||||
{"socket", initsocket},
|
||||
#endif
|
||||
|
||||
{0, 0} /* Sentinel */
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue