Skip to content

Commit f0ea5e6

Browse files
committed
Update also Py_DECREF() comment
1 parent eeaebb2 commit f0ea5e6

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
@@ -324,7 +324,7 @@ PyAPI_FUNC(void) _Py_MergeZeroLocalRefcount(PyObject *);
324324
#endif // Py_LIMITED_API
325325

326326
#if defined(Py_LIMITED_API) || defined(_Py_OPAQUE_PYOBJECT)
327-
// Since Python 3.16, the stable ABI implements Py_DECREF() as a function call
327+
// gh-158401: The stable ABI now implements Py_DECREF() as a function call
328328
// on all limited C API version. _Py_DecRef() was added to Python 3.10.0a7,
329329
// use Py_DecRef() on older versions. Py_DecRef() accepts NULL, whereas
330330
// _Py_DecRef() doesn't.

0 commit comments

Comments
 (0)