We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Py_DECREF
1 parent 0142236 commit 31ef8fdCopy full SHA for 31ef8fd
Include/refcount.h
@@ -313,7 +313,7 @@ PyAPI_FUNC(void) _Py_MergeZeroLocalRefcount(PyObject *);
313
// Stable ABI implements Py_DECREF() as a function call on limited C API
314
// version 3.12 and newer, and on Python built in debug mode. _Py_DecRef() was
315
// added to Python 3.10.0a7, use Py_DecRef() on older Python versions.
316
-// Py_DecRef() accepts NULL whereas _Py_IncRef() doesn't.
+// Py_DecRef() accepts NULL whereas _Py_DecRef() doesn't.
317
static inline void Py_DECREF(PyObject *op) {
318
# if Py_LIMITED_API+0 >= 0x030a00A7
319
_Py_DecRef(op);
0 commit comments