mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
gh-110345: show Tcl/Tk patchlevel in tkinter._test()
(GH-110350)
This commit is contained in:
parent
8e31cdc945
commit
b8f29b1293
2 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue