https://github.com/python/cpython/commit/31ef8fd8e21141576796ef473c1fb7b4bffc5f0a
commit: 31ef8fd8e21141576796ef473c1fb7b4bffc5f0a
branch: main
author: Justine Krejcha <just...@justinekrejcha.com>
committer: picnixz <10796600+picn...@users.noreply.github.com>
date: 2025-02-25T11:10:40+01:00
summary:

Fix a typo in `Py_DECREF` comment (#128387)

files:
M Include/refcount.h

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);

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to