diff options
author | Stefan Pochmann <609905+pochmann@users.noreply.github.com> | 2020-10-07 14:12:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-07 14:12:52 (GMT) |
commit | f90dc36c15d7fee0efaf6d39e97be0bdf2683e93 (patch) | |
tree | c174ecefcb916ee5eaab1154d4d68fbe2b834f86 /Objects/object.c | |
parent | 044a1048ca93d466965afc027b91a5a9eb9ce23c (diff) | |
download | cpython-f90dc36c15d7fee0efaf6d39e97be0bdf2683e93.zip cpython-f90dc36c15d7fee0efaf6d39e97be0bdf2683e93.tar.gz cpython-f90dc36c15d7fee0efaf6d39e97be0bdf2683e93.tar.bz2 |
Fix comment about PyObject_IsTrue. (GH-22343)
The `for` statement doesn't use a condition and this function, the `while` statement does.
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c index fe37344..9889503 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -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 |