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:
Stefan Pochmann 2020-10-07 16:12:52 +02:00 committed by GitHub
parent 044a1048ca
commit f90dc36c15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 */ Return -1 if an error occurred */
int int