summaryrefslogtreecommitdiffstats
path: root/Lib/rlcompleter.py
Commit message (Collapse)AuthorAgeFilesLines
* Do not expose __builtins__ name as a completion; this is an implementationFred Drake2000-05-311-2/+2
| | | | detail that confuses too many people. Based on discussion in python-dev.
* Oops. Remove some garbage from the doc string that was accidentallyGuido van Rossum1999-11-091-12/+0
| | | | | checked in due to a patching mishap. Reported by Detlef Lannert; thanks!
* Patch by Michael Hudson: when the object of attribute expansion is aGuido van Rossum1999-10-261-3/+26
| | | | | class instance, include the class attributes in the list of possible expansions.
* In completer(), return None instead of raising an IndexError whenGuido van Rossum1998-06-121-1/+4
| | | | | there are no more completions left. (This for compatibility with Donald Beaudry's code.)
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-49/+49
|
* Removed some unneeded imports, moved others around.Guido van Rossum1997-10-221-4/+2
|
* Word completion for the new readline.set_completer() function.Guido van Rossum1997-09-261-0/+108
When completing a simple identifier, it completes keywords, built-ins and globals in __main__; when completing NAME.NAME..., it evaluates (!) the expression up to the last dot and completes its attributes. It's very cool to do "import string" type "string.", hit the completion key (twice), and see the list of names defined by the string module! Tip: to use the tab key as the completion key, call readline.parse_and_bind("tab: complete")