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/initialization.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/features/initialization.rst') diff --git a/docs/features/initialization.rst b/docs/features/initialization.rst index 46b4ecd2..9924caa2 100644 --- a/docs/features/initialization.rst +++ b/docs/features/initialization.rst @@ -77,7 +77,7 @@ useful as a superclass of a class you define yourself in order to inherit Certain things must be initialized within the ``__init__()`` method of your class derived from ``cmd2.Cmd``(all arguments to ``__init__()`` are optional): -.. automethod:: cmd2.cmd2.Cmd.__init__ +.. automethod:: cmd2.Cmd.__init__ :noindex: Cmd instance attributes -- cgit v1.2.1