From: Julien Palard Date: Tue, 28 May 2019 13:10:23 +0000 (+0200) Subject: Doc: Add missing forward reference in the tutorial. (GH-13499) X-Git-Tag: v3.8.0b1~166 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=51ddab8dae056867f3595ab3400bffc93f67c8d4;p=thirdparty%2FPython%2Fcpython.git Doc: Add missing forward reference in the tutorial. (GH-13499) --- diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 905734539c68..cfb9645e0da1 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 ` 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, "?")