mirror of
https://github.com/python/cpython.git
synced 2025-07-12 05:45:15 +00:00
Fix comment about PyObject_IsTrue. (GH-22343)
The `for` statement doesn't use a condition and this function, the `while` statement does.
This commit is contained in:
parent
044a1048ca
commit
f90dc36c15
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue