[Python-checkins] Doc: Add missing forward reference in the tutorial. (GH-13499)

Julien Palard webhook-mailer at python.org
Tue May 28 09:10:31 EDT 2019


https://github.com/python/cpython/commit/51ddab8dae056867f3595ab3400bffc93f67c8d4
commit: 51ddab8dae056867f3595ab3400bffc93f67c8d4
branch: master
author: Julien Palard <julien at palard.fr>
committer: GitHub <noreply at github.com>
date: 2019年05月28日T15:10:23+02:00
summary:
Doc: Add missing forward reference in the tutorial. (GH-13499)
files:
M Doc/tutorial/controlflow.rst
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 <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, "?")


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /