mirror of
https://github.com/python/cpython.git
synced 2025-10-06 23:21:06 +00:00
[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:
parent
d9c21a45fd
commit
40c54d5e1a
7 changed files with 7 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue