ListCompleter
A class that does completion based on a predefined list.
The ListCompleter class is accessible via the terminate.prompt.rl module.
Attributes
Methods
f complete(self, text, state) ...
The actual completion method
This method is not meant to be overridden. Override the completelist method instead. It will make your life much easier.
For more detail see documentation for readline.set_completer
See the source for more information.