From 80189ff6475d8ab667de1199e659d5070f457ab9 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 21 Jan 2025 11:58:43 +0100 Subject: 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. --- Include/cpython/import.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Include/cpython/import.h b/Include/cpython/import.h index 7daf0b8..0fd61c2 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); -- cgit v0.12