Lines Matching refs:readline
1 :mod:`rlcompleter` --- Completion function for GNU readline
5 :synopsis: Python identifier completion, suitable for the GNU readline library.
13 :mod:`readline` module by completing valid Python identifiers and keywords.
15 When this module is imported on a Unix platform with the :mod:`readline` module
17 and its :meth:`complete` method is set as the :mod:`readline` completer.
22 >>> import readline
23 >>> readline.parse_and_bind("tab: complete")
24 >>> readline. <TAB PRESSED>
25 readline.__doc__ readline.get_line_buffer( readline.read_init_file(
26 readline.__file__ readline.insert_text( readline.set_completer(
27 readline.__name__ readline.parse_and_bind(
28 >>> readline.
36 import readline
38 print "Module readline not available."
41 readline.parse_and_bind("tab: complete")
43 On platforms without :mod:`readline`, the :class:`Completer` class defined by