]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32989: IDLE - fix bad editor call of pyparse method (GH-5968)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 21 Jan 2020 10:29:39 +0000 (02:29 -0800)
committerGitHub <noreply@github.com>
Tue, 21 Jan 2020 10:29:39 +0000 (02:29 -0800)
commit060ad2fc1535adc76f96be8269b4af0f14429161
tree6b4aed74d737268fcfdc32d0a9a2eda89b42a1fc
parent070e68a59d4a3e36085957eea83b79181bd1e0ba
bpo-32989: IDLE - fix bad editor call of pyparse method (GH-5968)

Fix comments and add tests for editor newline_and_indent_event method.
Remove unused None default for function parameter of pyparse find_good_parse_start method
and code triggered by that default.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit ec64640a2c5236d7a5d5470d759172a3d93eab0b)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Lib/idlelib/NEWS.txt
Lib/idlelib/editor.py
Lib/idlelib/idle_test/test_editor.py
Lib/idlelib/idle_test/test_pyparse.py
Lib/idlelib/pyparse.py
Misc/NEWS.d/next/IDLE/2018-03-03-12-56-26.bpo-32989.FVhmhH.rst [new file with mode: 0644]