rlcompleter — Completion function for GNU readline — Python 3.16.0a0 documentation

docs.python.org

Tin mới

readline — GNU readline interface

Binary Data Services

Python Module Index

3.16.0a0 Documentation

The Python Standard Library

Text Processing Services

identifiers and keywords

The rlcompleter module defines a completion function suitable to be passed to set_completer() in the readline module.

Readline configuration

The rlcompleter module defines a completion function suitable to be passed to set_completer() in the readline module.

__main__: The environment where top-level code is run. Covers command-line interfaces, import-time behavior, and ``__name__ == '__main__'``.

When called by the readline module, this method is called successively with state == 0, 1, 2, ... until the method returns None.

builtins: The module that provides the built-in namespace.

When called by the readline module, this method is called successively with state == 0, 1, 2, ... until the method returns None.

keyword: Test whether a string is a keyword in Python.

When called by the readline module, this method is called successively with state == 0, 1, 2, ... until the method returns None.

object.__getattr__

When called by the readline module, this method is called successively with state == 0, 1, 2, ... until the method returns None.