]> 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:28:48 +0000 (02:28 -0800)
committerGitHub <noreply@github.com>
Tue, 21 Jan 2020 10:28:48 +0000 (02:28 -0800)
commitf3d3a3cc114ed30829544c3613b73e4fa6dd5599
treee49779d5a753eeedf702de82e8eb20f3db4bbd70
parentd7b0118a124f11f702bbe6e9f1bad680fb53590b
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]