Skip to content

Commit 31ef8fd

Browse files
authored
Fix a typo in Py_DECREF comment (#128387)
1 parent 0142236 commit 31ef8fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/refcount.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ PyAPI_FUNC(void) _Py_MergeZeroLocalRefcount(PyObject *);
313313
// Stable ABI implements Py_DECREF() as a function call on limited C API
314314
// version 3.12 and newer, and on Python built in debug mode. _Py_DecRef() was
315315
// added to Python 3.10.0a7, use Py_DecRef() on older Python versions.
316-
// Py_DecRef() accepts NULL whereas _Py_IncRef() doesn't.
316+
// Py_DecRef() accepts NULL whereas _Py_DecRef() doesn't.
317317
static inline void Py_DECREF(PyObject *op) {
318318
# if Py_LIMITED_API+0 >= 0x030a00A7
319319
_Py_DecRef(op);

0 commit comments

Comments
 (0)