Make AC happy

This commit is contained in:
Sergey Miryanov 2026-05-03 17:31:16 +05:00
parent fd93679c4c
commit 344f32c132
2 changed files with 3 additions and 2 deletions

View file

@ -601,6 +601,7 @@ PyDoc_STRVAR(_remote_debugging_GCMonitor_get_gc_stats__doc__,
" - collected: Total number of collected objects.\n"
" - uncollectable: Total number of uncollectable objects.\n"
" - candidates: Total objects considered and traversed.\n"
" - heap_size: number of live objects.\n"
" - duration: Total collection time, in seconds.\n"
"\n"
"Raises:\n"
@ -1563,4 +1564,4 @@ skip_optional_kwonly:
exit:
return return_value;
}
/*[clinic end generated code: output=1151e58683dab9f4 input=a9049054013a1b77]*/
/*[clinic end generated code: output=36674f4cb8a653f3 input=a9049054013a1b77]*/

View file

@ -1237,7 +1237,7 @@ Returns a list of GCStatsInfo objects with GC statistics data.
static PyObject *
_remote_debugging_GCMonitor_get_gc_stats_impl(GCMonitorObject *self,
int all_interpreters)
/*[clinic end generated code: output=f73f365725224f7a input=09e647719c65f9e4]*/
/*[clinic end generated code: output=f73f365725224f7a input=12f7c1a288cf2741]*/
{
RemoteDebuggingState *st = RemoteDebugging_GetStateFromType(Py_TYPE(self));
return get_gc_stats(&self->offsets, all_interpreters, st->GCStatsInfo_Type);