Skip to content

Commit de74d49

Browse files
miss-islingtonhauntsaninja
andauthoredDec 22, 2022
gh-57762: fix misleading tkinter.Tk docstring (GH-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 58967d1 commit de74d49

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
@@ -2278,7 +2278,7 @@ class Tk(Misc, Wm):
22782278

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

0 commit comments

Comments
 (0)
Please sign in to comment.