]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37765: Add keywords to IDLE tab completions (GH-15138)
authorTerry Jan Reedy <tjreedy@udel.edu>
Thu, 9 Jul 2020 22:08:33 +0000 (18:08 -0400)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2020 22:08:33 +0000 (18:08 -0400)
commitbce2eb4646021910aa4074d86f44a09b32d0b2b2
treef087dfbe2595d3509354d115c9950b5134fd3625
parent1ee5dc15868ea0ad36800899e19a6a87170ada76
bpo-37765: Add keywords to IDLE tab completions (GH-15138)

Keywords are present in the main module tab completion lists generated by rlcompleter, which is used by REPLs on *nix. Add all keywords to IDLE's main module name list except those already added from builtins (True, False, and None) . This list may also be used by Show Completions on the Edit menu, and its hot key.

Rewrite Completions doc.

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Doc/library/idle.rst
Lib/idlelib/NEWS.txt
Lib/idlelib/autocomplete.py
Lib/idlelib/help.html
Lib/idlelib/idle_test/test_autocomplete.py
Misc/NEWS.d/next/IDLE/2020-07-07-18-44-30.bpo-37765.umc1o8.rst [new file with mode: 0644]