mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -10,7 +10,7 @@ extern "C" {
|
|||
#ifndef Py_LIMITED_API
|
||||
PyAPI_FUNC(_PyInitError) _PyImportZip_Init(void);
|
||||
|
||||
PyMODINIT_FUNC PyInit_imp(void);
|
||||
PyMODINIT_FUNC PyInit__imp(void);
|
||||
#endif /* !Py_LIMITED_API */
|
||||
PyAPI_FUNC(long) PyImport_GetMagicNumber(void);
|
||||
PyAPI_FUNC(const char *) PyImport_GetMagicTag(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue