Remove PyInit__imp() function (#129125)

This function was exposed by mistake to the public C API. It's the
only "PyInit" function which is exposed.
This commit is contained in:
Victor Stinner 2025-01-21 11:58:43 +01:00 committed by GitHub
parent fafc618e2f
commit 80189ff647
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,8 +2,6 @@
# error "this header file must not be included directly"
#endif
PyMODINIT_FUNC PyInit__imp(void);
struct _inittab {
const char *name; /* ASCII encoded string */
PyObject* (*initfunc)(void);