https://github.com/python/cpython/commit/80189ff6475d8ab667de1199e659d5070f457ab9
commit: 80189ff6475d8ab667de1199e659d5070f457ab9
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-01-21T11:58:43+01:00
summary:
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.
files:
M Include/cpython/import.h
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);
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]