bpo-31649: Make IDLE's _htest, _utest parameters keyword-only. (#3839)

This commit is contained in:
Terry Jan Reedy 2017-09-30 17:37:53 -04:00 committed by GitHub
parent 7dc46d8cf5
commit bfebfd81de
7 changed files with 7 additions and 6 deletions

View file

@ -23,7 +23,7 @@ class AboutDialog(Toplevel):
"""Modal about dialog for idle
"""
def __init__(self, parent, title=None, _htest=False, _utest=False):
def __init__(self, parent, title=None, *, _htest=False, _utest=False):
"""Create popup, do not return until tk widget destroyed.
parent - parent of this dialog