ListCompleter

A class that does completion based on a predefined list.


Attributes

a text

None

a delims

'\t\n'

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

f __init__(self, words, ignorecase) ...

f completelist(self, text) ...

See the source for more information.