Skip to content

Commit 2303aae

Browse files
committed
Fix Py_VISIT expansion
1 parent 03d41f6 commit 2303aae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Doc/c-api/gcsupport.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ implementation must name its arguments exactly *visit* and *arg*:
370370
This corresponds roughly to::
371371
372372
#define Py_VISIT(o) \
373-
if (op) { \
373+
if (o) { \
374374
int visit_result = visit(o, arg); \
375375
if (visit_result != 0) { \
376376
return visit_result; \

0 commit comments

Comments
 (0)