]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] bpo-45495: Add 'case' and 'match' to IDLE completions list. (GH-29000) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 16 Oct 2021 23:14:11 +0000 (16:14 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Oct 2021 23:14:11 +0000 (16:14 -0700)
commita29470307308f64af9c55263cdd6e1984ba89925
tree1ce6fe7dfa445dad26270ad3d902a5df97d2f84b
parent5df35faf3611b459f7f32bfe9fd2ffa7fb2dc59e
[3.10] bpo-45495: Add 'case' and 'match' to IDLE completions list. (GH-29000) (GH-29001)

Since the keyword list is frozen, only compute it once per
session.  The colorizer already handles context keywords.
(cherry picked from commit 42ac06dcd234bdda989dcfe854ac5173337024c9)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Automerge-Triggered-By: GH:terryjreedy
Lib/idlelib/autocomplete.py
Lib/idlelib/idle_test/test_autocomplete.py
Misc/NEWS.d/next/IDLE/2021-10-16-17-20-32.bpo-45495.ST8RFt.rst [new file with mode: 0644]