Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In completer(), return None instead of raising an IndexError when | Guido van Rossum | 1998-06-12 | 1 | -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 Rossum | 1998-03-26 | 1 | -49/+49 |
| | |||||
* | Removed some unneeded imports, moved others around. | Guido van Rossum | 1997-10-22 | 1 | -4/+2 |
| | |||||
* | Word completion for the new readline.set_completer() function. | Guido van Rossum | 1997-09-26 | 1 | -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") |