Lines Matching refs:meth
67 has a method :meth:`do_foo`. As a special case, a line beginning with the
68 character ``'?'`` is dispatched to the method :meth:`do_help`. As another
70 method :meth:`do_shell` (if such a method is defined).
72 This method will return when the :meth:`postcmd` method returns a true value.
73 The *stop* argument to :meth:`postcmd` is the return value from the command's
74 corresponding :meth:`do_\*` method.
77 completing of commands args is done by calling :meth:`complete_foo` with
84 All subclasses of :class:`Cmd` inherit a predefined :meth:`do_help`. This
86 :meth:`help_bar`, and if that is not present, prints the docstring of
87 :meth:`do_bar`, if available. With no argument, :meth:`do_help` lists all
89 :meth:`help_\*` methods or commands that have docstrings), and also lists any
97 :meth:`precmd` and :meth:`postcmd` methods for useful execution hooks. The
99 interpreter should stop. If there is a :meth:`do_\*` method for the command
101 from the :meth:`default` method is returned.
119 :meth:`complete_\*` method is available. By default, it returns an empty list.
127 used as the command which will be executed by the :meth:`onecmd` method; the
128 :meth:`precmd` implementation may re-write the command or simply return *line*
137 execution will be terminated after the call to :meth:`postcmd`; this will be the
138 return value of the :meth:`onecmd` method. The return value of this method will
145 Hook method executed once when :meth:`cmdloop` is called. This method is a stub
151 Hook method executed once when :meth:`cmdloop` is about to return. This method
175 :meth:`cmdloop` when new input is needed; if it is nonempty, its elements
182 :meth:`cmdloop` method an argument.
193 topics (that is, there are :meth:`help_\*` methods without corresponding
194 :meth:`do_\*` methods).
200 (that is, there are :meth:`do_\*` methods without corresponding :meth:`help_\*`
212 A flag, defaulting to true. If true, :meth:`cmdloop` uses :func:`raw_input` to
213 display a prompt and read the next command; if false, :meth:`sys.stdout.write`
214 and :meth:`sys.stdin.readline` are used. (This means that by importing