mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
rename _imp initialization function to follow conventions (#5432)
When the C imp module became _imp in 6f44d66bc4
, the initialization function should have been renamed from PyInit_imp to PyInit__imp.
This commit is contained in:
parent
2a2270db9b
commit
c65ef772c3
5 changed files with 7 additions and 8 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
/* Module definition and import implementation */
|
||||
|
||||
#include "Python.h"
|
||||
|
@ -2253,7 +2252,7 @@ static struct PyModuleDef impmodule = {
|
|||
const char *_Py_CheckHashBasedPycsMode = "default";
|
||||
|
||||
PyMODINIT_FUNC
|
||||
PyInit_imp(void)
|
||||
PyInit__imp(void)
|
||||
{
|
||||
PyObject *m, *d;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue