Skip to content

Commit

Permalink
[3.11] gh-110345: show Tcl/Tk patchlevel in tkinter._test() (GH-110350
Browse files Browse the repository at this point in the history
) (GH-114252)

(cherry picked from commit b8f29b1)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
  • Loading branch information
miss-islington and chrstphrchvz committed Jan 18, 2024
1 parent 569182c commit 4bc0c07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/tkinter/__init__.py
Expand Up @@ -4632,7 +4632,7 @@ def panes(self):

def _test():
root = Tk()
text = "This is Tcl/Tk version %s" % TclVersion
text = "This is Tcl/Tk %s" % root.globalgetvar('tk_patchLevel')
text += "\nThis should be a cedilla: \xe7"
label = Label(root, text=text)
label.pack()
Expand Down
@@ -0,0 +1 @@
Show the Tcl/Tk patchlevel (rather than version) in :meth:`tkinter._test`.

0 comments on commit 4bc0c07

Please sign in to comment.