mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat
_codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw modules. pyexpat.c doesn't need to redeclare PyMODINIT_FUNC, it's already declared in Include/pyport.h.
This commit is contained in:
parent
beb09977bc
commit
f024d263b4
5 changed files with 5 additions and 15 deletions
|
@ -249,7 +249,7 @@ static struct PyModuleDef mod_module = {
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
PyObject*
|
||||
PyMODINIT_FUNC
|
||||
PyInit__scproxy(void)
|
||||
{
|
||||
return PyModule_Create(&mod_module);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue