Skip to content

Commit eeaebb2

Browse files
vstinnerencukou
andauthored
Apply suggestion from @encukou
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent efeb67d commit eeaebb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Include/refcount.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ PyAPI_FUNC(void) _Py_DecRef(PyObject *);
255255
static inline Py_ALWAYS_INLINE void Py_INCREF(PyObject *op)
256256
{
257257
#if defined(Py_LIMITED_API) || defined(_Py_OPAQUE_PYOBJECT)
258-
// Since Python 3.16, the stable ABI implements Py_INCREF() as a function
258+
// gh-158401: The stable ABI now implements Py_INCREF() as a function
259259
// call on all limited C API versions. _Py_IncRef() was added to Python
260260
// 3.10.0a7, use Py_IncRef() on older versions. Py_IncRef() accepts NULL,
261261
// whereas _Py_IncRef() doesn't.

0 commit comments

Comments
 (0)