summaryrefslogtreecommitdiffstats
path: root/Doc/library/cmd.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-28 11:41:26 (GMT)
committerGitHub <noreply@github.com>2018-10-28 11:41:26 (GMT)
commit913876d824d969f8c7431e8a9d4610a9a11a786e (patch)
treef98ec4ccbb5f2db38d2ea62e1583745db2957c0b /Doc/library/cmd.rst
parent95f68b10d5c9852ef4dcf5b9f2ae15fdf74e8f1c (diff)
downloadcpython-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/library/cmd.rst')
-rw-r--r--Doc/library/cmd.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/cmd.rst b/Doc/library/cmd.rst
index 3b4a8ff..d57edb7 100644
--- a/Doc/library/cmd.rst
+++ b/Doc/library/cmd.rst
@@ -61,6 +61,10 @@ A :class:`Cmd` instance has the following methods:
An end-of-file on input is passed back as the string ``'EOF'``.
+ .. index::
+ single: ? (question mark); in a command interpreter
+ single: ! (exclamation); in a command interpreter
+
An interpreter instance will recognize a command name ``foo`` if and only if it
has a method :meth:`do_foo`. As a special case, a line beginning with the
character ``'?'`` is dispatched to the method :meth:`do_help`. As another