summaryrefslogtreecommitdiff
path: root/examples/remove_unused.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-02-23 23:34:38 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-02-23 23:34:38 -0500
commit2f37b1d54fcda2b8f3fb42b27515004a00b24a72 (patch)
treeba092f1a96967b86ec880b05d9a934c342bf67c1 /examples/remove_unused.py
parent656a7742f0f15bf64f259e4f32b1d0a082fcfc83 (diff)
downloadcmd2-git-2f37b1d54fcda2b8f3fb42b27515004a00b24a72.tar.gz
Converted a few class variables into instance variables
Now that users can nest instances of cmd.Cmd2 to support creating sub-menus, we should need to be more careful about class vs instance variables to prevent potential problems. This converts the following former class variables into instance variables: - multiline_commands - shortcuts - exclude_from_help - exclude_from_history In the process, a couple camelCase variable names got converted to pep8_compliant names. There may be a few other class variables which should be converted to instance variables. But at the very least, this is a good start. This closes #273.
Diffstat (limited to 'examples/remove_unused.py')
0 files changed, 0 insertions, 0 deletions