mirror of
https://github.com/python/cpython
synced 2024-09-05 16:38:56 +00:00
gh-110345: show Tcl/Tk patchlevel in tkinter._test()
(GH-110350)
This commit is contained in:
parent
8e31cdc945
commit
b8f29b1293
|
@ -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()
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Show the Tcl/Tk patchlevel (rather than version) in :meth:`tkinter._test`.
|
Loading…
Reference in a new issue