Skip to content

Commit

Permalink
pythongh-57762: fix misleading tkinter.Tk docstring
Browse files Browse the repository at this point in the history
Mentioned as a desired change by terryjreedy on the corresponding issue,
since Tk is not a subclass of Toplevel.
  • Loading branch information
hauntsaninja committed Oct 29, 2022
1 parent 75a6fad commit eca0a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/tkinter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2305,7 +2305,7 @@ class Tk(Misc, Wm):

def __init__(self, screenName=None, baseName=None, className='Tk',
useTk=True, sync=False, use=None):
"""Return a new Toplevel widget on screen SCREENNAME. A new Tcl interpreter will
"""Return a new top level widget on screen SCREENNAME. A new Tcl interpreter will
be created. BASENAME will be used for the identification of the profile file (see
readprofile).
It is constructed from sys.argv[0] without extensions if None is given. CLASSNAME
Expand Down

0 comments on commit eca0a0e

Please sign in to comment.