Lines Matching full:statements
4 Compound statements
9 Compound statements contain (groups of) other statements; they affect or control
10 the execution of those other statements in some way. In general, compound
11 statements span multiple lines, although in simple incarnations a whole compound
14 The :keyword:`if`, :keyword:`while` and :keyword:`for` statements implement
16 handlers and/or cleanup code for a group of statements. Function and class
17 definitions are also syntactically compound statements.
23 Compound statements consist of one or more 'clauses.' A clause consists of a
26 identifying keyword and ends with a colon. A suite is a group of statements
28 statements on the same line as the header, following the header's colon, or it
29 can be one or more indented statements on subsequent lines. Only the latter
30 form of suite can contain nested compound statements; the following is illegal,
38 statements are executed::
62 Note that statements always end in a ``NEWLINE`` possibly followed by a
66 :keyword:`if` statements to be indented).
216 for a group of statements:
399 :keyword:`with` statements were nested::
536 since it allows the execution of multiple statements.