From: Victor Stinner Date: Tue, 21 Jan 2025 10:58:43 +0000 (+0100) Subject: Remove PyInit__imp() function (#129125) X-Git-Tag: v3.14.0a5~319 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80189ff6475d8ab667de1199e659d5070f457ab9;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Include/cpython/import.h b/Include/cpython/import.h index 7daf0b84fcf7..0fd61c28cafa 100644 --- a/Include/cpython/import.h +++ b/Include/cpython/import.h @@ -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);