]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove PyInit__imp() function (#129125)
authorVictor Stinner <vstinner@python.org>
Tue, 21 Jan 2025 10:58:43 +0000 (11:58 +0100)
committerGitHub <noreply@github.com>
Tue, 21 Jan 2025 10:58:43 +0000 (11:58 +0100)
This function was exposed by mistake to the public C API. It's the
only "PyInit" function which is exposed.

Include/cpython/import.h

index 7daf0b84fcf71bf172db2f7b60ff0e260053da73..0fd61c28cafa0efaafbdc94dd06d7eee4667f925 100644 (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);