= | Assignment. See Section 13.1, “Assignment”. |
assert | Assertion facility. See Section 13.2, “The assert statement”. |
break | Break out of a loop. See Section 14.5, “The break statement”. |
class | Define a new class of objects. See Section 17, “Create your own types: The
class construct”. |
continue | Go to the top of a loop. See Section 14.6, “The continue statement”. |
def | Define a function. See Section 16, “Defining and calling functions”. |
del | Delete a variable or part of an
object. See Section 13.3, “The del statement”. |
elif | See Section 14.2, “The if construct: choice”. |
else | See Section 14.2, “The if construct: choice”. |
except | See Section 14.7, “The try construct: catching
exceptions”. |
exec | Dynamically execute Python code. See Section 13.4, “The exec statement”. |
finally | See Section 14.7, “The try construct: catching
exceptions”. |
for | Iterate over the members of a
sequence. See Section 14.3, “The for construct: iteration”. |
from | Import names from a module. See Section 13.5, “The from statement”. |
global | Use a global variable. See Section 13.6, “The global statement”. |
if | Conditional branching. See Section 14.2, “The if construct: choice”. |
import | Import an external module. See Section 13.7, “The import statement”. |
pass | A placeholder, no-operation
statement. See Section 13.8, “The pass statement”. |
print | Display values to output. See Section 13.9, “The print statement”. |
raise | Raise an exception. See Section 14.8, “The raise statement: throwing
exceptions”. |
return | See Section 16.2, “return: Return the result of
a function”. |
try | Anticipate possible exceptions. See Section 14.7, “The try construct: catching
exceptions”. |
while | Repeat a group of statements. See Section 14.4, “The while construct: looping”. |
yield | Return one of a sequence of
values from a generator. See Section 18.2, “Generators”. |