]> granicus.if.org Git - python/commit
bpo-31460: Simplify the API of IDLE's Module Browser. (#3842)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 30 Sep 2017 23:54:28 +0000 (19:54 -0400)
committerGitHub <noreply@github.com>
Sat, 30 Sep 2017 23:54:28 +0000 (19:54 -0400)
commitd6bb65f378e34fe0c11fdb39588357ecf22964eb
tree5cdcb340f58d22e9e04a7a0ed043a91e57847dff
parentbfebfd81de21b7906df386fce845f2b1f5ffd212
bpo-31460: Simplify the API of IDLE's Module Browser. (#3842)

Passing a widget instead of an flist with a root widget opens the option of
creating a browser frame that is only part of a window. Passing a full file
name instead of pieces assumed to come from a .py file opens the possibility
of browsing python files that do not end in .py.
Lib/idlelib/browser.py
Lib/idlelib/editor.py
Lib/idlelib/idle_test/test_browser.py
Misc/NEWS.d/next/IDLE/2017-09-30-19-03-26.bpo-31460.HpveI6.rst [new file with mode: 0644]