mirror of
https://github.com/boostorg/python.git
synced 2026-01-28 07:22:31 +00:00
Fix Python 3.10 (PEP-620) incompatibility.
This commit is contained in:
@@ -93,7 +93,7 @@ PyObject* make_nurse_and_patient(PyObject* nurse, PyObject* patient)
|
||||
|
||||
if (Py_TYPE(&life_support_type) == 0)
|
||||
{
|
||||
Py_TYPE(&life_support_type) = &PyType_Type;
|
||||
Py_SET_TYPE(&life_support_type, &PyType_Type);
|
||||
PyType_Ready(&life_support_type);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user