summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-28 17:35:32 (GMT)
committerGitHub <noreply@github.com>2018-10-28 17:35:32 (GMT)
commit5b2e1cfde28cce7f4b9275ec1b3757c561eef94e (patch)
tree955de5e376a4b345ca90ad4f50d2a61ab9ae9301 /Doc/tutorial
parentf29bded3d3b0de63b45819eec292f5007c0cd3cf (diff)
downloadcpython-5b2e1cfde28cce7f4b9275ec1b3757c561eef94e.zip
cpython-5b2e1cfde28cce7f4b9275ec1b3757c561eef94e.tar.gz
cpython-5b2e1cfde28cce7f4b9275ec1b3757c561eef94e.tar.bz2
[3.6] bpo-35054: Add yet more index entries for symbols. (GH-10121). (GH-10182)
(cherry picked from commit 913876d824d969f8c7431e8a9d4610a9a11a786e)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/controlflow.rst4
-rw-r--r--Doc/tutorial/introduction.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index f87cd4d..c407ad4 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -526,7 +526,7 @@ Arbitrary Argument Lists
------------------------
.. index::
- single: *; in function calls
+ single: * (asterisk); in function calls
Finally, the least frequently used option is to specify that a function can be
called with an arbitrary number of arguments. These arguments will be wrapped
@@ -676,7 +676,7 @@ Function Annotations
.. index::
pair: function; annotations
single: ->; function annotations
- single: :; function annotations
+ single: : (colon); function annotations
:ref:`Function annotations <function>` are completely optional metadata
information about the types used by user-defined functions (see :pep:`3107` and
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst
index 0663af1..5d6812d 100644
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.rst
@@ -11,7 +11,7 @@ with a prompt are output from the interpreter. Note that a secondary prompt on a
line by itself in an example means you must type a blank line; this is used to
end a multi-line command.
-.. index:: single: #; comment
+.. index:: single: # (hash); comment
Many of the examples in this manual, even those entered at the interactive
prompt, include comments. Comments in Python start with the hash character,