]> granicus.if.org Git - python/commit
[3.6] bpo-31460: Simplify the API of IDLE's Module Browser. (GH-3842) (#3843)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sun, 1 Oct 2017 00:32:29 +0000 (20:32 -0400)
committerGitHub <noreply@github.com>
Sun, 1 Oct 2017 00:32:29 +0000 (20:32 -0400)
commitc8198c92320bc35b1e3de5ff0118bd8e20e8d68a
tree89d4597b946f265dc65127fcc3aaedcf95d82df0
parent40c54d5e1aaab91cb7df71f735112d20b5e5b755
[3.6] bpo-31460: Simplify the API of IDLE's Module Browser. (GH-3842) (#3843)

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.
(cherry picked from commit d6bb65f)
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]