From b93d66e7049df61c4c20d9a4dabf52dc1a3bea1f Mon Sep 17 00:00:00 2001 From: kotfu Date: Sun, 15 Jul 2018 16:22:58 -0600 Subject: Fix typo. --- docs/hooks.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/hooks.rst b/docs/hooks.rst index a6a8d80a..bb079457 100644 --- a/docs/hooks.rst +++ b/docs/hooks.rst @@ -249,10 +249,11 @@ attribute that describes the command which was executed. If your postcommand hook method gets called, you are guaranteed that the command method was called, and that it didn't raise an exception. -If any postcommand hook raises an exception, the exception will be displayed to the user, and no further postcommand hook methods -will be called. Command finalization hooks, if any, will be called. +If any postcommand hook raises an exception, the exception will be displayed to +the user, and no further postcommand hook methods will be called. Command +finalization hooks, if any, will be called. -After all registered precommand hooks have been called, +After all registered postcommand hooks have been called, ``self.postcmd(statement)`` will be called to retain full backward compatibility with ``cmd.Cmd``. -- cgit v1.2.1