summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2019-05-28 13:10:23 (GMT)
committerGitHub <noreply@github.com>2019-05-28 13:10:23 (GMT)
commit51ddab8dae056867f3595ab3400bffc93f67c8d4 (patch)
tree35acd6654c986a32d0a26195324b3a8e59014c0e /Doc/tutorial
parent05f16416d99dc9fc76fef11e56f16593e7a5955e (diff)
downloadcpython-51ddab8dae056867f3595ab3400bffc93f67c8d4.zip
cpython-51ddab8dae056867f3595ab3400bffc93f67c8d4.tar.gz
cpython-51ddab8dae056867f3595ab3400bffc93f67c8d4.tar.bz2
Doc: Add missing forward reference in the tutorial. (GH-13499)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/controlflow.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index 9057345..cfb9645 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -482,9 +482,9 @@ When a final formal parameter of the form ``**name`` is present, it receives a
dictionary (see :ref:`typesmapping`) containing all keyword arguments except for
those corresponding to a formal parameter. This may be combined with a formal
parameter of the form ``*name`` (described in the next subsection) which
-receives a tuple containing the positional arguments beyond the formal parameter
-list. (``*name`` must occur before ``**name``.) For example, if we define a
-function like this::
+receives a :ref:`tuple <tut-tuples>` containing the positional
+arguments beyond the formal parameter list. (``*name`` must occur
+before ``**name``.) For example, if we define a function like this::
def cheeseshop(kind, *arguments, **keywords):
print("-- Do you have any", kind, "?")