diff options
author | kotfu <kotfu@kotfu.net> | 2020-02-15 19:03:47 -0700 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2020-02-15 19:03:47 -0700 |
commit | 1e57b0c451de23338378f44088118648848cc82c (patch) | |
tree | 37f2d17230cd79b4e9203bf1f83315f932e6b58d /cmd2 | |
parent | 3448438f27c5b040e3e4c742a880cf660695e563 (diff) | |
download | cmd2-git-1e57b0c451de23338378f44088118648848cc82c.tar.gz |
Add API documentation for constants
Diffstat (limited to 'cmd2')
-rw-r--r-- | cmd2/constants.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cmd2/constants.py b/cmd2/constants.py index bc72817f..d7e52cc9 100644 --- a/cmd2/constants.py +++ b/cmd2/constants.py @@ -1,6 +1,10 @@ # # coding=utf-8 -"""Constants and definitions""" +"""This module contains constants used throughout ``cmd2``.""" + +# Unless documented in https://cmd2.readthedocs.io/en/latest/api/index.html +# nothing here should be considered part of the public API of this module + # Used for command parsing, output redirection, tab completion and word # breaks. Do not change. @@ -32,9 +36,9 @@ HELP_FUNC_PREFIX = 'help_' # All command completer functions start with this COMPLETER_FUNC_PREFIX = 'complete_' -############################################################################################################ +############################################################################## # The following are optional attributes added to do_* command functions -############################################################################################################ +############################################################################## # The custom help category a command belongs to CMD_ATTR_HELP_CATEGORY = 'help_category' |