Cleanup: correct PyModuleDef.m_slots reference

Changed in Python 3.5, match Python's internal name.
This commit is contained in:
2022-09-08 15:32:33 +10:00
parent 8a9d1f19ab
commit a3ddcc6b4d
21 changed files with 23 additions and 23 deletions

View File

@@ -428,7 +428,7 @@ static struct PyModuleDef kdtree_moduledef = {
py_kdtree_doc, /* m_doc */
0, /* m_size */
NULL, /* m_methods */
NULL, /* m_reload */
NULL, /* m_slots */
NULL, /* m_traverse */
NULL, /* m_clear */
NULL, /* m_free */