diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-13 18:37:50 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-13 18:37:50 -0500 |
commit | 7fe5cf7c1ab7d7a68991d1aeebaa338f7c5d2fd0 (patch) | |
tree | e3cc4c27ed21a2e1d01caae0bda4ea51c44e59f6 /examples/basic_completion.py | |
parent | 19312f442be58590f4373e2455c4ee14e3397174 (diff) | |
download | cmd2-git-7fe5cf7c1ab7d7a68991d1aeebaa338f7c5d2fd0.tar.gz |
Fixed missing import
Diffstat (limited to 'examples/basic_completion.py')
-rwxr-xr-x | examples/basic_completion.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/basic_completion.py b/examples/basic_completion.py index 615f949d..e021828b 100755 --- a/examples/basic_completion.py +++ b/examples/basic_completion.py @@ -11,6 +11,8 @@ flag_based_complete() and index_based_complete() are basic methods and should on familiar with argparse. The recommended approach for tab completing positional tokens and flags is to use argparse-based completion. For an example integrating tab completion with argparse, see argparse_completion.py """ +import functools + import cmd2 # List of strings used with completion functions |