diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-04-20 09:05:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 09:05:26 -0700 |
commit | a0a46f9396a72f440f65e46d7170a0d366796574 (patch) | |
tree | 2c06a51e26286ff0eb3502934875d9148b98d60d /examples/tab_autocompletion.py | |
parent | 58fdd089cc064e71502dc1f094fd906d30523886 (diff) | |
parent | da426b267921598eb9a11b9b4d5adbd64cbba8c5 (diff) | |
download | cmd2-git-a0a46f9396a72f440f65e46d7170a0d366796574.tar.gz |
Merge pull request #363 from python-cmd2/type_hints
Started adding type hints
Diffstat (limited to 'examples/tab_autocompletion.py')
-rwxr-xr-x | examples/tab_autocompletion.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/tab_autocompletion.py b/examples/tab_autocompletion.py index 9741dce2..c704908f 100755 --- a/examples/tab_autocompletion.py +++ b/examples/tab_autocompletion.py @@ -214,7 +214,6 @@ class TabCompleteExample(cmd2.Cmd): '\n '.join(ep_list))) print() - media_parser = argparse_completer.ACArgumentParser(prog='media') media_types_subparsers = media_parser.add_subparsers(title='Media Types', dest='type') @@ -379,7 +378,7 @@ class TabCompleteExample(cmd2.Cmd): # This tuple represents index-based args to append to the function call (list(TabCompleteExample.SHOW_DATABASE.keys()),) ), - 'episode_id': (self._filter_episodes, # this is a custom completion function + 'episode_id': (self._filter_episodes, # this is a custom completion function # this list represents index-based args to append to the function call [TabCompleteExample.SHOW_DATABASE], # this dict contains keyword-based args to append to the function call |