mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
fix importing one char extension modules (closes #24328)
This commit is contained in:
parent
a663121e10
commit
e20056c8f7
4 changed files with 27 additions and 10 deletions
|
|
@ -321,6 +321,14 @@ PyInitU_eckzbwbhc6jpgzcx415x(PyObject *spec)
|
|||
return PyModuleDef_Init(&def_nonascii_kana);
|
||||
}
|
||||
|
||||
/*** Module with a single-character name ***/
|
||||
|
||||
PyMODINIT_FUNC
|
||||
PyInit_x(PyObject *spec)
|
||||
{
|
||||
return PyModuleDef_Init(&main_def);
|
||||
}
|
||||
|
||||
/**** Testing NULL slots ****/
|
||||
|
||||
static PyModuleDef null_slots_def = TEST_MODULE_DEF(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue