Skip to content

Commit aa78ed8

Browse files
Minor adjustments to wording
1 parent 7a4ff32 commit aa78ed8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎Doc/library/cmd.rst‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ command interpreters. These are often useful for test harnesses, administrative
1313
tools, and prototypes that will later be wrapped in a more sophisticated
1414
interface.
1515

16-
A command interpreter built with :class:`Cmd` presents the user with an
17-
interactive prompt, reads input one line at a time, and runs each command by
18-
calling the method whose name matches it. For example, the ``help`` command is
19-
handled by a ``do_help()`` method. Apart from the built-in ``help`` command,
20-
the interpreter's behavior is defined by the ``do_*`` methods you add in your
21-
own subclass.
16+
A command interpreter built with :class:`Cmd` typically presents the user
17+
with an interactive prompt, reads input one line at a time, and dispatches each
18+
command to a method named ``do_`` followed by the command name. For example,
19+
the ``help`` command is handled by the :meth:`~Cmd.do_help` method. Apart from
20+
the built-in ``help`` command, most of the interpreter's behavior is defined by
21+
the ``do_*`` methods you add in your own subclass.
2222

2323
.. class:: Cmd(completekey='tab', stdin=None, stdout=None)
2424

0 commit comments

Comments
 (0)