We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 732224e commit 1ad68bfCopy full SHA for 1ad68bf
1 file changed
Lib/test/test_cext/extension.c
@@ -111,17 +111,3 @@ FUNC_NAME(MODULE_NAME)(void)
111
{
112
return _testcext_slots;
113
}
114
-
115
-// Also define the soft-deprecated entrypoint to ensure it isn't called
116
117
-#define _INITFUNC_NAME(NAME) PyInit_ ## NAME
118
-#define INITFUNC_NAME(NAME) _INITFUNC_NAME(NAME)
119
120
-PyMODINIT_FUNC
121
-INITFUNC_NAME(MODULE_NAME)(void)
122
-{
123
- PyErr_SetString(
124
- PyExc_AssertionError,
125
- "PyInit_* function called while a PyModExport_* one is available");
126
- return NULL;
127
-}
0 commit comments