From bf3dc169c047acda1c1cf505e8cd0e9e46d4b4cf Mon Sep 17 00:00:00 2001 From: kotfu Date: Wed, 5 Feb 2020 22:31:18 -0700 Subject: Clean up class and method references - In docs/api/cmd.rst, the `cmd2.Cmd` class was defined as `cmd2.cmd2.Cmd`, which required the extraneous `cmd2` every time we referenced it. This extra `cmd2` is no longer required. - always refer to a bare cmd2 using ``cmd2`` per our documentation conventions --- docs/features/hooks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/features/hooks.rst') diff --git a/docs/features/hooks.rst b/docs/features/hooks.rst index 17f2884e..ee1d5fbc 100644 --- a/docs/features/hooks.rst +++ b/docs/features/hooks.rst @@ -1,7 +1,7 @@ Hooks ===== -The typical way of starting a cmd2 application is as follows:: +The typical way of starting a ``cmd2`` application is as follows:: import cmd2 class App(cmd2.Cmd): -- cgit v1.2.1