]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92032: Add soft keywords to rlcompleter (#92029)
authorkbeldan <kbeldan@users.noreply.github.com>
Mon, 2 May 2022 22:36:29 +0000 (22:36 +0000)
committerGitHub <noreply@github.com>
Mon, 2 May 2022 22:36:29 +0000 (16:36 -0600)
commit4bed9c47bd6c581c4c8ab59ab7acf0e57510d1f7
treeecfcace636dd12cebaaf061d733fa8d2d8fb1ae9
parentcc6ae4f4835f9e76a34f24cd1f666c1cc0fecfa3
gh-92032: Add soft keywords to rlcompleter (#92029)

Let the interpreter autocomplete soft-keywords, ATM the PEP-634 'match'
/ 'case' / '_' (wildcard pattern).

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Lib/rlcompleter.py
Lib/test/test_rlcompleter.py
Misc/NEWS.d/next/Core and Builtins/2022-04-28-20-19-49.gh-issue-92032.ef-UfM.rst [new file with mode: 0644]