gh-110345: show Tcl/Tk patchlevel in tkinter._test() (GH-110350)

This commit is contained in:
Christopher Chavez 2024-01-18 09:46:58 -06:00 committed by GitHub
parent 8e31cdc945
commit b8f29b1293
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -4715,7 +4715,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()

View file

@ -0,0 +1 @@
Show the Tcl/Tk patchlevel (rather than version) in :meth:`tkinter._test`.