template This is the object passed to the constructor’s template argument. In general, you shouldn’t change it, but
readline.get_line_buffer() Return the current contents of the line buffer (rl_line_buffer in the underlying library)
expand_tabs (default: True) If true, then all tab characters in text will be expanded to spaces using
unicodedata.lookup(name) Look up character by name. If a character with the given name is found, return the corresponding character
break_on_hyphens (default: True) If true, wrapping will occur preferably on whitespaces and right after hyphens
match.re The regular expression object whose match() or search() method produced this match instance
readline.get_begidx() readline.get_endidx() Get the beginning or ending index of the completion scope. These indexes
initial_indent (default: '') String that will be prepended to the first line of wrapped output. Counts towards
colno The column corresponding to pos.
safe_substitute(mapping, **kwds) Like substitute(), except that if placeholders are missing from mapping
Page 15 of 17