class documentation

class twisted.python.usage.CompleteMultiList(Completer): (source)

View In Hierarchy

Completes multiple comma-separated items based on a fixed list of words

Method __init__
Instance Variable _items Undocumented
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:

Instance Variable _descr Undocumented
Instance Variable _repeat Undocumented
Property _repeatFlag Undocumented
Method _description Undocumented
def __init__(self, items, **kw): (source)
ParametersitemsUndocumented
kwUndocumented
descrAn optional descriptive string displayed above matches. (type: str)
repeatA flag, defaulting to False, indicating whether this Completer should repeat - that is, be used to complete more than one command-line word. This may ONLY be set to True for actions in the extraActions keyword argument to Completions. And ONLY if it is the LAST (or only) action in the extraActions list. (type: bool)
_items = (source)

Undocumented

def _shellCode(self, optName, shellType): (source)

Fetch a fragment of shell code representing this action which is suitable for use by the completion system in _shellcomp.py

ParametersoptNameThe long name of the option this action is being used for. (type: str)
shellTypeOne of the supported shell constants e.g. twisted.python.usage._ZSH (type: str)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.