Skip to content

Commit 8661384

Browse files
authored
Fix wording and punctuation and rewrap paragraph. (python#273)
1 parent 3072e63 commit 8661384

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ approach and syntax::
101101
attributes (int lineno)
102102
}
103103

104-
The preceding example describes three different kinds of statements;
105-
function definitions, return statements, and yield statements. All
106-
three kinds are considered of type ``stmt`` as shown by ``|`` separating the
107-
various kinds. They all take arguments of various kinds and amounts.
104+
The preceding example describes two different kinds of statements and an
105+
expression: function definitions, return statements, and yield expressions.
106+
All three kinds are considered of type ``stmt`` as shown by ``|`` separating
107+
the various kinds. They all take arguments of various kinds and amounts.
108108

109109
Modifiers on the argument type specify the number of values needed; ``?``
110110
means it is optional, ``*`` means 0 or more, while no modifier means only one

0 commit comments

Comments
 (0)