From 878601bc07e5298d50fbf1bd6a8fc2062fef5ed4 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Mon, 17 Feb 2020 12:45:20 -0500 Subject: Renamed AutoCompleter to ArgparseCompleter for clarity --- cmd2/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd2/utils.py') diff --git a/cmd2/utils.py b/cmd2/utils.py index e324c2f1..b307e0d2 100644 --- a/cmd2/utils.py +++ b/cmd2/utils.py @@ -109,8 +109,8 @@ class Settable: for this argument (See note below) Note: - For choices_method and completer_method, do not set them to a bound method. This is because AutoCompleter - passes the self argument explicitly to these functions. + For choices_method and completer_method, do not set them to a bound method. This is because + ArgparseCompleter passes the self argument explicitly to these functions. Therefore instead of passing something like self.path_complete, pass cmd2.Cmd.path_complete. """ -- cgit v1.2.1