Skip to content

Commit 327d2d7

Browse files
hauntsaninjamiss-islington
authored andcommitted
pythongh-57762: fix misleading tkinter.Tk docstring (pythonGH-98837)
Mentioned as a desired change by terryjreedy on the corresponding issue, since Tk is not a subclass of Toplevel. (cherry picked from commit ad23da0) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
1 parent 6afc389 commit 327d2d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/tkinter/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2305,7 +2305,7 @@ class Tk(Misc, Wm):
23052305

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

0 commit comments

Comments
 (0)