Skip to content

Commit

Permalink
Remove PyInit__imp() function
Browse files Browse the repository at this point in the history
This function was exposed by mistake to the public C API. It's the
only "PyInit" function which is exposed.
  • Loading branch information
vstinner committed Jan 21, 2025
1 parent 7239da7 commit 1dadb4d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Include/cpython/import.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1dadb4d

Please sign in to comment.