summaryrefslogtreecommitdiffstats
path: root/Doc/reference/compound_stmts.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/reference/compound_stmts.rst')
-rw-r--r--Doc/reference/compound_stmts.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 432f3c8..927930a 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -72,6 +72,8 @@ on a separate line for clarity.
.. _if:
+.. _elif:
+.. _else:
The :keyword:`if` statement
===========================
@@ -200,6 +202,8 @@ returns the list ``[0, 1, 2]``.
.. _try:
+.. _except:
+.. _finally:
The :keyword:`try` statement
============================
@@ -326,6 +330,7 @@ may be found in section :ref:`raise`.
.. _with:
+.. _as:
The :keyword:`with` statement
=============================
@@ -382,6 +387,7 @@ The execution of the :keyword:`with` statement proceeds as follows:
.. _function:
+.. _def:
Function definitions
====================