Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix comment about PyObject_IsTrue
The `for` statement doesn't use a condition and this function, the `while` statement does.
  • Loading branch information
pochmann authored Sep 21, 2020
commit 3f6f1f01aeab7f5363c9825ed8e8d2de7627cf93
2 changes: 1 addition & 1 deletion Objects/object.c
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ PyObject_GenericSetDict(PyObject *obj, PyObject *value, void *context)
}


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

int
Expand Down