mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Teach Windows build about the _weakref module.
This commit is contained in:
parent
2492a20579
commit
747d5b63db
3 changed files with 18 additions and 1 deletions
|
@ -43,6 +43,7 @@ extern void init_locale(void);
|
|||
#endif
|
||||
extern void init_codecs(void);
|
||||
extern void initxreadlines(void);
|
||||
extern void init_weakref(void);
|
||||
|
||||
/* XXX tim: what's the purpose of ADDMODULE MARKER? */
|
||||
/* -- ADDMODULE MARKER 1 -- */
|
||||
|
@ -95,6 +96,7 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
|
||||
{"_codecs", init_codecs},
|
||||
{"xreadlines", initxreadlines},
|
||||
{"_weakref", init_weakref},
|
||||
|
||||
/* XXX tim: what's the purpose of ADDMODULE MARKER? */
|
||||
/* -- ADDMODULE MARKER 2 -- */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue