Skip to content

Commit 88d7142

Browse files
committed
Clarify wording in glossary entry expression
1 parent 0023d5b commit 88d7142

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Doc/glossary.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,9 @@ Glossary
509509
A piece of syntax which can be evaluated to some value. In other words,
510510
an expression is an accumulation of expression elements like literals,
511511
names, attribute access, operators or function calls which all return a
512-
value. In contrast to many other languages, not all language constructs
513-
are expressions. There are also :term:`statement`\s which cannot be used
514-
as expressions, such as :keyword:`while`. Assignments are also statements,
515-
not expressions.
512+
value. Not all language constructs are expressions. There are also
513+
:term:`statement`\s which cannot be used as expressions, such as
514+
:keyword:`while`. Assignments are also statements, not expressions.
516515

517516
extension module
518517
A module written in C or C++, using Python's C API to interact with the

0 commit comments

Comments
 (0)