@@ -83,7 +83,7 @@ A :class:`Cmd` instance has the following methods:
83
83
84
84
This method will return when the :meth: `postcmd ` method returns a true value.
85
85
The *stop * argument to :meth: `postcmd ` is the return value from the command's
86
- corresponding :meth: `do_\* ` method.
86
+ corresponding :meth: `! do_\* ` method.
87
87
88
88
If completion is enabled, completing commands will be done automatically, and
89
89
completing of commands args is done by calling :meth: `complete_foo ` with
@@ -98,7 +98,7 @@ A :class:`Cmd` instance has the following methods:
98
98
:meth: `help_bar `, and if that is not present, prints the docstring of
99
99
:meth: `do_bar `, if available. With no argument, :meth: `do_help ` lists all
100
100
available help topics (that is, all commands with corresponding
101
- :meth: `help_\* ` methods or commands that have docstrings), and also lists any
101
+ :meth: `! help_\* ` methods or commands that have docstrings), and also lists any
102
102
undocumented commands.
103
103
104
104
@@ -108,7 +108,7 @@ A :class:`Cmd` instance has the following methods:
108
108
This may be overridden, but should not normally need to be; see the
109
109
:meth: `precmd ` and :meth: `postcmd ` methods for useful execution hooks. The
110
110
return value is a flag indicating whether interpretation of commands by the
111
- interpreter should stop. If there is a :meth: `do_\* ` method for the command
111
+ interpreter should stop. If there is a :meth: `! do_\* ` method for the command
112
112
*str *, the return value of that method is returned, otherwise the return value
113
113
from the :meth: `default ` method is returned.
114
114
@@ -128,7 +128,7 @@ A :class:`Cmd` instance has the following methods:
128
128
.. method :: Cmd.completedefault(text, line, begidx, endidx)
129
129
130
130
Method called to complete an input line when no command-specific
131
- :meth: `complete_\* ` method is available. By default, it returns an empty list.
131
+ :meth: `! complete_\* ` method is available. By default, it returns an empty list.
132
132
133
133
134
134
.. method :: Cmd.columnize(list, displaywidth=80)
@@ -209,14 +209,14 @@ Instances of :class:`Cmd` subclasses have some public instance variables:
209
209
.. attribute :: Cmd.misc_header
210
210
211
211
The header to issue if the help output has a section for miscellaneous help
212
- topics (that is, there are :meth: `help_\* ` methods without corresponding
213
- :meth: `do_\* ` methods).
212
+ topics (that is, there are :meth: `! help_\* ` methods without corresponding
213
+ :meth: `! do_\* ` methods).
214
214
215
215
216
216
.. attribute :: Cmd.undoc_header
217
217
218
218
The header to issue if the help output has a section for undocumented commands
219
- (that is, there are :meth: `do_\* ` methods without corresponding :meth: `help_\* `
219
+ (that is, there are :meth: `! do_\* ` methods without corresponding :meth: `! help_\* `
220
220
methods).
221
221
222
222
0 commit comments