summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-13 18:37:50 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-13 18:37:50 -0500
commit7fe5cf7c1ab7d7a68991d1aeebaa338f7c5d2fd0 (patch)
treee3cc4c27ed21a2e1d01caae0bda4ea51c44e59f6
parent19312f442be58590f4373e2455c4ee14e3397174 (diff)
downloadcmd2-git-7fe5cf7c1ab7d7a68991d1aeebaa338f7c5d2fd0.tar.gz
Fixed missing import
-rwxr-xr-xexamples/basic_completion.py2
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