mirror of https://github.com/python/cpython
gh-110345: show Tcl/Tk patchlevel in `tkinter._test()` (GH-110350)
This commit is contained in:
parent
8e31cdc945
commit
b8f29b1293
|
@ -4715,7 +4715,7 @@ class PanedWindow(Widget):
|
|||
|
||||
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 New Issue