diff options
Diffstat (limited to 'cmd2/utils.py')
| -rw-r--r-- | cmd2/utils.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd2/utils.py b/cmd2/utils.py index d8d6b7cc..c5874d6e 100644 --- a/cmd2/utils.py +++ b/cmd2/utils.py @@ -104,12 +104,6 @@ class Settable: :param choices: iterable of accepted values :param choices_provider: function that provides choices for this argument :param completer: tab completion function that provides choices for this argument - - Note: - For choices_provider and completer, 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. """ if val_type == bool: val_type = str_to_bool |
