summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-28 06:20:58 -0700
committerGitHub <noreply@github.com>2019-05-28 06:20:58 -0700
commit95b7706a955e2144eb54d815ec24a7eb0dff0b97 (patch)
tree59067888b7a9fe0881acf9e9e1eb7fc5b0f7782b /Doc
parente7ddf586ae5b7a3b975103b09c8202226d77f421 (diff)
downloadcpython-git-95b7706a955e2144eb54d815ec24a7eb0dff0b97.tar.gz
Doc: Add missing forward reference in the tutorial. (GH-13499)
(cherry picked from commit 51ddab8dae056867f3595ab3400bffc93f67c8d4) Co-authored-by: Julien Palard <julien@palard.fr>
Diffstat (limited to 'Doc')
-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 abf163d232..ed42e2baaf 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, "?")