# Documentation If value is NULL, 'PyModule_AddObjectRef' should return -1, not NULL. https://docs.python.org/3/c-api/module.html <!-- gh-linked-prs --> ### Linked PRs * gh-101945 * gh-101957 * gh-129433 * gh-129612 * gh-129613 * gh-129659 <!-- /gh-linked-prs -->
Documentation
If value is NULL, 'PyModule_AddObjectRef' should return -1, not NULL.
https://docs.python.org/3/c-api/module.html
Linked PRs
PyModule_AddObjectRef()#101957PyModule_AddObjectRef#129659