diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-04-20 17:21:44 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-04-20 17:21:44 (GMT) |
commit | a85017fbe3be978a6f138662c6cd21052355ef91 (patch) | |
tree | 98eea2a8daaa747a4dca3e013c21f1926bcd9eea /PC | |
parent | c9f5ca232acccf412ef14aa294afd9deef4af93d (diff) | |
download | cpython-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')
-rw-r--r-- | PC/VS9.0/pythoncore.vcproj | 2 | ||||
-rw-r--r-- | PC/config.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/PC/VS9.0/pythoncore.vcproj b/PC/VS9.0/pythoncore.vcproj index ab7feca..c5ee9a6 100644 --- a/PC/VS9.0/pythoncore.vcproj +++ b/PC/VS9.0/pythoncore.vcproj @@ -1119,7 +1119,7 @@ >
</File>
<File
- RelativePath="..\..\Modules\operator.c"
+ RelativePath="..\..\Modules\_operator.c"
>
</File>
<File
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}, |