From 3d3ee17ffd1aa412a62cbe9386a3f08c7ea436e0 Mon Sep 17 00:00:00 2001 From: Justine Krejcha Date: Tue, 31 Dec 2024 15:09:16 -0800 Subject: [PATCH] Fix typo in Py_DECREF comment --- Include/refcount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/refcount.h b/Include/refcount.h index d98b2dfcf37202..dbc69ee02b017d 100644 --- a/Include/refcount.h +++ b/Include/refcount.h @@ -313,7 +313,7 @@ PyAPI_FUNC(void) _Py_MergeZeroLocalRefcount(PyObject *); // Stable ABI implements Py_DECREF() as a function call on limited C API // version 3.12 and newer, and on Python built in debug mode. _Py_DecRef() was // added to Python 3.10.0a7, use Py_DecRef() on older Python versions. -// Py_DecRef() accepts NULL whereas _Py_IncRef() doesn't. +// Py_DecRef() accepts NULL whereas _Py_DecRef() doesn't. static inline void Py_DECREF(PyObject *op) { # if Py_LIMITED_API+0 >= 0x030a00A7 _Py_DecRef(op);