mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue #16694: Add a pure Python implementation of the operator module.
Patch by Zachary Ware.
This commit is contained in:
parent
c9f5ca232a
commit
a85017fbe3
10 changed files with 536 additions and 96 deletions
|
|
@ -17,7 +17,7 @@ extern PyObject* PyInit_gc(void);
|
|||
extern PyObject* PyInit_math(void);
|
||||
extern PyObject* PyInit__md5(void);
|
||||
extern PyObject* PyInit_nt(void);
|
||||
extern PyObject* PyInit_operator(void);
|
||||
extern PyObject* PyInit__operator(void);
|
||||
extern PyObject* PyInit_signal(void);
|
||||
extern PyObject* PyInit__sha1(void);
|
||||
extern PyObject* PyInit__sha256(void);
|
||||
|
|
@ -87,7 +87,7 @@ struct _inittab _PyImport_Inittab[] = {
|
|||
{"gc", PyInit_gc},
|
||||
{"math", PyInit_math},
|
||||
{"nt", PyInit_nt}, /* Use the NT os functions, not posix */
|
||||
{"operator", PyInit_operator},
|
||||
{"_operator", PyInit__operator},
|
||||
{"signal", PyInit_signal},
|
||||
{"_md5", PyInit__md5},
|
||||
{"_sha1", PyInit__sha1},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue