]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-142513: fix missing return in executor_clear (GH-143073)
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>
Mon, 22 Dec 2025 17:10:52 +0000 (18:10 +0100)
committerGitHub <noreply@github.com>
Mon, 22 Dec 2025 17:10:52 +0000 (17:10 +0000)
fix missing return in executor_clear

Python/optimizer.c

index 935485549387483e9d070a51d27a8ba75e3e466f..6e7f599fbe988f7f0fe0e05debc2109ad1265f1f 100644 (file)
@@ -1773,6 +1773,7 @@ static int
 executor_clear(PyObject *op)
 {
     executor_invalidate(op);
+    return 0;
 }
 
 void