Skip to content

Commit 6735419

Browse files
committed
gh-135839: Fix traverse_module_state usage in _interpchannelsmodule
1 parent 0d9d489 commit 6735419

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Modules/_interpchannelsmodule.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3614,8 +3614,7 @@ module_traverse(PyObject *mod, visitproc visit, void *arg)
36143614
{
36153615
module_state *state = get_module_state(mod);
36163616
assert(state != NULL);
3617-
(void)traverse_module_state(state, visit, arg);
3618-
return 0;
3617+
return traverse_module_state(state, visit, arg);
36193618
}
36203619

36213620
static int

0 commit comments

Comments
 (0)