From 3f6f1f01aeab7f5363c9825ed8e8d2de7627cf93 Mon Sep 17 00:00:00 2001 From: Stefan Pochmann <609905+pochmann@users.noreply.github.com> Date: Mon, 21 Sep 2020 23:14:50 +0200 Subject: [PATCH] Fix comment about PyObject_IsTrue The `for` statement doesn't use a condition and this function, the `while` statement does. --- Objects/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/object.c b/Objects/object.c index fe3734404f5cf9..9889503cfd8938 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