[3.13] gh-156111: Clarify wording in glossary entry "expression" (GH-156198) (#156238)
picnixz <[email protected]>
| Newsgroups | gmane.comp.python.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://github.com/python/cpython/commit/c00fe720446194246ceac719f1ad9215d1778757 commit: c00fe720446194246ceac719f1ad9215d1778757 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: picnixz <[email protected]> date: 2026-08-22T18:18:50Z summary: [3.13] gh-156111: Clarify wording in glossary entry "expression" (GH-156198) (#156238) gh-156111: Clarify wording in glossary entry "expression" (GH-156198) (cherry picked from commit 6f42535b333b6d2d56ba2b27e436c37e8ae63a02) Co-authored-by: Aniket <[email protected]> files: M Doc/glossary.rst diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 8cad67d7846ef0..a70ee3c9b31aea 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -470,7 +470,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. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]