From 1dadb4dd9bbaceeba9e7aa1edff1c7a0dafdc6ce Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 21 Jan 2025 11:10:26 +0100 Subject: [PATCH] Remove PyInit__imp() function This function was exposed by mistake to the public C API. It's the only "PyInit" function which is exposed. --- Include/cpython/import.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Include/cpython/import.h b/Include/cpython/import.h index 7daf0b84fcf71b..0fd61c28cafa0e 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);