Skip to content

Commit ab05914

Browse files
author
Peter Bierma
committed
Add docstring.
1 parent 7b41f63 commit ab05914

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Include/cpython/object.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,4 +527,9 @@ typedef int (*PyRefTracer)(PyObject *, PyRefTracerEvent event, void *);
527527
PyAPI_FUNC(int) PyRefTracer_SetTracer(PyRefTracer tracer, void *data);
528528
PyAPI_FUNC(PyRefTracer) PyRefTracer_GetTracer(void**);
529529

530+
/* Enable PEP-703 deferred reference counting on the object.
531+
*
532+
* If this is called on a build with the GIL enabled, this
533+
* function does nothing.
534+
*/
530535
PyAPI_FUNC(int) PyUnstable_Object_SetDeferredRefcount(PyObject *);

0 commit comments

Comments
 (0)