]> granicus.if.org Git - python/commit
bpo-32905: IDLE - remove unused code in pyparse module (GH-5807)
authorTerry Jan Reedy <tjreedy@udel.edu>
Thu, 22 Feb 2018 06:19:02 +0000 (01:19 -0500)
committerGitHub <noreply@github.com>
Thu, 22 Feb 2018 06:19:02 +0000 (01:19 -0500)
commit451d1edaf4d27c4e632d81246d308e8dd6ea945f
treed45a69250207e55f723331d205f8310c01267a0f
parent745dc65b17b3936e3f9f4099f735f174d30c4e0c
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.
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]