[3.6] bpo-31649: Make IDLE's _htest, _utest parameters keyword-only. (GH-3839) (#3841)

(cherry picked from commit bfebfd8)
This commit is contained in:
Terry Jan Reedy 2017-09-30 18:45:53 -04:00 committed by GitHub
parent d9c21a45fd
commit 40c54d5e1a
7 changed files with 7 additions and 6 deletions

View file

@ -61,7 +61,7 @@ class ModuleBrowser:
# This class is the base class for pathbrowser.PathBrowser.
# Init and close are inherited, other methods are overriden.
def __init__(self, flist, name, path, _htest=False, _utest=False):
def __init__(self, flist, name, path, *, _htest=False, _utest=False):
# XXX This API should change, if the file doesn't end in ".py"
# XXX the code here is bogus!
"""Create a window for browsing a module's structure.