diff options
Diffstat (limited to 'docs/overview.rst')
-rw-r--r-- | docs/overview.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/overview.rst b/docs/overview.rst index 9e7a315a..75b8caa9 100644 --- a/docs/overview.rst +++ b/docs/overview.rst @@ -20,8 +20,8 @@ differs from cmd_. The `cmd.emptyline() <https://docs.python.org/3/library/cmd.html#cmd.Cmd.emptyline>`_ function is called when an empty line is entered in response to the prompt. By default, in cmd_ if this method is not overridden, it repeats and executes the last nonempty command entered. However, no end user we have encountered views this as - expected or desirable default behavior. Thus, the default behvior in ``cmd2`` is to simply go to the next line + expected or desirable default behavior. Thus, the default behavior in ``cmd2`` is to simply go to the next line and issue the prompt again. At this time, cmd2 completely ignores empty lines and the base class cmd.emptyline() - method never gets called and thus the emptyline() behavior cannot be overriden. + method never gets called and thus the emptyline() behavior cannot be overridden. .. _cmd: https://docs.python.org/3/library/cmd.html |