Skip to content

Commit f90dc36

Browse files
authored
Fix comment about PyObject_IsTrue. (GH-22343)
The `for` statement doesn't use a condition and this function, the `while` statement does.
1 parent 044a104 commit f90dc36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ PyObject_GenericSetDict(PyObject *obj, PyObject *value, void *context)
13871387
}
13881388

13891389

1390-
/* Test a value used as condition, e.g., in a for or if statement.
1390+
/* Test a value used as condition, e.g., in a while or if statement.
13911391
Return -1 if an error occurred */
13921392

13931393
int

0 commit comments

Comments
 (0)