From 16d15cd7cf490bf781920a8bc462c8058c4a52c2 Mon Sep 17 00:00:00 2001 From: Aniket <148300120+Aniketsy@users.noreply.github.com> Date: Sat, 22 Aug 2026 23:41:52 +0530 Subject: [PATCH] gh-156111: Clarify wording in glossary entry "expression" (GH-156198) (cherry picked from commit 6f42535b333b6d2d56ba2b27e436c37e8ae63a02) Co-authored-by: Aniket <148300120+Aniketsy@users.noreply.github.com> --- Doc/glossary.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/glossary.rst b/Doc/glossary.rst index bb00a4f02f0efd..4017f1e37f748e 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -509,7 +509,7 @@ Glossary A piece of syntax which can be evaluated to some value. In other words, an expression is an accumulation of expression elements like literals, names, attribute access, operators or function calls which all return a - value. In contrast to many other languages, not all language constructs + value. Not all language constructs are expressions. There are also :term:`statement`\s which cannot be used as expressions, such as :keyword:`while`. Assignments are also statements, not expressions.