gh-57762: fix misleading tkinter.Tk docstring (#98837)

Mentioned as a desired change by terryjreedy on the corresponding issue,
since Tk is not a subclass of Toplevel.
This commit is contained in:
Shantanu 2022-12-22 16:35:32 -06:00 committed by GitHub
parent 9cdb642997
commit ad23da0e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2305,7 +2305,7 @@ class Tk(Misc, Wm):
def __init__(self, screenName=None, baseName=None, className='Tk', def __init__(self, screenName=None, baseName=None, className='Tk',
useTk=True, sync=False, use=None): 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 be created. BASENAME will be used for the identification of the profile file (see
readprofile). readprofile).
It is constructed from sys.argv[0] without extensions if None is given. CLASSNAME It is constructed from sys.argv[0] without extensions if None is given. CLASSNAME