twisted.python.usage.CompleteList(Completer) class documentationtwisted.python.usage
(View In Hierarchy)
Completes based on a fixed list of words
| Method | __init__ | |
| Method | _shellCode | Fetch a fragment of shell code representing this action which is suitable for use by the completion system in _shellcomp.py | 
Inherited from Completer:
| Method | _getRepeatFlag | Undocumented | 
| Method | _description | Undocumented | 
| Parameters | descr | An optional descriptive string displayed above matches. (type: str) | 
| repeat | A flag, defaulting to False, indicating whether this Completershould repeat - that is, be used to complete more than one command-line 
word. This may ONLY be set to True for actions in theextraActionskeyword argument toCompletions. And
ONLY if it is the LAST (or only) action in theextraActionslist. (type:bool) | 
Fetch a fragment of shell code representing this action which is suitable for use by the completion system in _shellcomp.py
| Parameters | optName | The long name of the option this action is being used for. (type: str) | 
| shellType | One of the supported shell constants e.g. twisted.python.usage._ZSH(type:str) |