]> granicus.if.org Git - python/commit
bpo-32905: IDLE - remove unused code in pyparse module (GH-5807)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 22 Feb 2018 07:04:05 +0000 (23:04 -0800)
committerGitHub <noreply@github.com>
Thu, 22 Feb 2018 07:04:05 +0000 (23:04 -0800)
commitd8e7b98b17cd2cc15b307f54a768c9ca31072b5f
treeb4038e6212f234e44e59c4c059a381c10005ea00
parent52064c3d8a62c8c14967ec1e004927e9297bb62c
bpo-32905: IDLE - remove unused code in pyparse module (GH-5807)

dump is similar to print but less flexible.  lastopenbracketpos is now always initialized in _study2, as was stmt_bracketing, so the class settings are not needed.  get_last_open_bracket_pos is never called.
(cherry picked from commit 451d1edaf4d27c4e632d81246d308e8dd6ea945f)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/idle_test/test_pyparse.py
Lib/idlelib/pyparse.py
Misc/NEWS.d/next/IDLE/2018-02-22-00-09-27.bpo-32905.VlXj0x.rst [new file with mode: 0644]