Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace calls to 'Py_INCREF' with 'Py_XINCREF'
The 'PyErr_NewException' function can return 'NULL', which means that 'Py_XINCREF' must be used instead of 'Py_INCREF'. See https://docs.python.org/3/extending/extending.html#null-pointers for further information.
- Loading branch information