diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-28 11:41:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-28 11:41:26 (GMT) |
commit | 913876d824d969f8c7431e8a9d4610a9a11a786e (patch) | |
tree | f98ec4ccbb5f2db38d2ea62e1583745db2957c0b /Doc/tutorial | |
parent | 95f68b10d5c9852ef4dcf5b9f2ae15fdf74e8f1c (diff) | |
download | cpython-913876d824d969f8c7431e8a9d4610a9a11a786e.zip cpython-913876d824d969f8c7431e8a9d4610a9a11a786e.tar.gz cpython-913876d824d969f8c7431e8a9d4610a9a11a786e.tar.bz2 |
bpo-35054: Add yet more index entries for symbols. (GH-10121)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 4 | ||||
-rw-r--r-- | Doc/tutorial/introduction.rst | 2 |
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 f5a394a..3e0c995 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, |