From: Justine Krejcha Date: Tue, 25 Feb 2025 10:10:40 +0000 (-0800) Subject: Fix a typo in `Py_DECREF` comment (#128387) X-Git-Tag: v3.14.0a6~277 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31ef8fd8e21141576796ef473c1fb7b4bffc5f0a;p=thirdparty%2FPython%2Fcpython.git Fix a typo in `Py_DECREF` comment (#128387) --- diff --git a/Include/refcount.h b/Include/refcount.h index d98b2dfcf372..dbc69ee02b01 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);