Open
Description
Documentation
The documentation for extending new types using a C extension just uses Py_SETREF
and Py_NewRef
with no extra clarification as to what those functions do. It'd be nicer and more convenient if they were explained on-the-spot instead of having to search for it in the docs. They are also not explained in the previous topic (that explains Py_INCREF
and Py_DECREF
) and the other topics thereafter.