File tree 2 files changed +0
-12
lines changed
2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ extern "C" {
9
9
10
10
extern int _PyImport_IsInitialized (PyInterpreterState * );
11
11
12
- extern PyObject * _PyImport_GetModuleId (_Py_Identifier * name );
13
12
PyAPI_FUNC (int ) _PyImport_SetModule (PyObject * name , PyObject * module );
14
13
extern int _PyImport_SetModuleString (const char * name , PyObject * module );
15
14
Original file line number Diff line number Diff line change @@ -210,17 +210,6 @@ PyImport_GetModuleDict(void)
210
210
return MODULES (interp );
211
211
}
212
212
213
- // This is only kept around for extensions that use _Py_IDENTIFIER.
214
- PyObject *
215
- _PyImport_GetModuleId (_Py_Identifier * nameid )
216
- {
217
- PyObject * name = _PyUnicode_FromId (nameid ); /* borrowed */
218
- if (name == NULL ) {
219
- return NULL ;
220
- }
221
- return PyImport_GetModule (name );
222
- }
223
-
224
213
int
225
214
_PyImport_SetModule (PyObject * name , PyObject * m )
226
215
{
You can’t perform that action at this time.
0 commit comments