summaryrefslogtreecommitdiffstats
path: root/PC/config.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-04-20 17:21:44 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-04-20 17:21:44 (GMT)
commita85017fbe3be978a6f138662c6cd21052355ef91 (patch)
tree98eea2a8daaa747a4dca3e013c21f1926bcd9eea /PC/config.c
parentc9f5ca232acccf412ef14aa294afd9deef4af93d (diff)
downloadcpython-a85017fbe3be978a6f138662c6cd21052355ef91.zip
cpython-a85017fbe3be978a6f138662c6cd21052355ef91.tar.gz
cpython-a85017fbe3be978a6f138662c6cd21052355ef91.tar.bz2
Issue #16694: Add a pure Python implementation of the operator module.
Patch by Zachary Ware.
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/config.c b/PC/config.c
index 57b5073..9de876e 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -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},