@@ -73,7 +73,7 @@ A :class:`Cmd` instance has the following methods:
73
73
74
74
This method will return when the :meth: `postcmd ` method returns a true value.
75
75
The *stop * argument to :meth: `postcmd ` is the return value from the command's
76
- corresponding :meth: `do_\* ` method.
76
+ corresponding :meth: `! do_\* ` method.
77
77
78
78
If completion is enabled, completing commands will be done automatically, and
79
79
completing of commands args is done by calling :meth: `complete_foo ` with
@@ -88,7 +88,7 @@ A :class:`Cmd` instance has the following methods:
88
88
:meth: `help_bar `, and if that is not present, prints the docstring of
89
89
:meth: `do_bar `, if available. With no argument, :meth: `do_help ` lists all
90
90
available help topics (that is, all commands with corresponding
91
- :meth: `help_\* ` methods or commands that have docstrings), and also lists any
91
+ :meth: `! help_\* ` methods or commands that have docstrings), and also lists any
92
92
undocumented commands.
93
93
94
94
@@ -98,7 +98,7 @@ A :class:`Cmd` instance has the following methods:
98
98
This may be overridden, but should not normally need to be; see the
99
99
:meth: `precmd ` and :meth: `postcmd ` methods for useful execution hooks. The
100
100
return value is a flag indicating whether interpretation of commands by the
101
- interpreter should stop. If there is a :meth: `do_\* ` method for the command
101
+ interpreter should stop. If there is a :meth: `! do_\* ` method for the command
102
102
*str *, the return value of that method is returned, otherwise the return value
103
103
from the :meth: `default ` method is returned.
104
104
@@ -118,7 +118,7 @@ A :class:`Cmd` instance has the following methods:
118
118
.. method :: Cmd.completedefault(text, line, begidx, endidx)
119
119
120
120
Method called to complete an input line when no command-specific
121
- :meth: `complete_\* ` method is available. By default, it returns an empty list.
121
+ :meth: `! complete_\* ` method is available. By default, it returns an empty list.
122
122
123
123
124
124
.. method :: Cmd.columnize(list, displaywidth=80)
@@ -199,14 +199,14 @@ Instances of :class:`Cmd` subclasses have some public instance variables:
199
199
.. attribute :: Cmd.misc_header
200
200
201
201
The header to issue if the help output has a section for miscellaneous help
202
- topics (that is, there are :meth: `help_\* ` methods without corresponding
203
- :meth: `do_\* ` methods).
202
+ topics (that is, there are :meth: `! help_\* ` methods without corresponding
203
+ :meth: `! do_\* ` methods).
204
204
205
205
206
206
.. attribute :: Cmd.undoc_header
207
207
208
208
The header to issue if the help output has a section for undocumented commands
209
- (that is, there are :meth: `do_\* ` methods without corresponding :meth: `help_\* `
209
+ (that is, there are :meth: `! do_\* ` methods without corresponding :meth: `! help_\* `
210
210
methods).
211
211
212
212
0 commit comments