diff options
author | Shantanu <12621235+hauntsaninja@users.noreply.github.com> | 2022-12-22 22:35:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-22 22:35:32 (GMT) |
commit | ad23da0e77c4c4a3185df64d1c199b8c17e08188 (patch) | |
tree | 6918da3137266b7b33130346348a2ba8a967076e /Lib/tkinter | |
parent | 9cdb6429971cd8b874ceaeeb04ae2ecdbba42bdb (diff) | |
download | cpython-ad23da0e77c4c4a3185df64d1c199b8c17e08188.zip cpython-ad23da0e77c4c4a3185df64d1c199b8c17e08188.tar.gz cpython-ad23da0e77c4c4a3185df64d1c199b8c17e08188.tar.bz2 |
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.
Diffstat (limited to 'Lib/tkinter')
-rw-r--r-- | Lib/tkinter/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index a8e7bf4..7565e0f 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -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 |