mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[3.12] gh-110345: show Tcl/Tk patchlevel in tkinter._test()
(GH-110350) (GH-114253)
(cherry picked from commit b8f29b1293
)
Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
This commit is contained in:
parent
281fef1e4c
commit
6d23b32374
2 changed files with 2 additions and 1 deletions
|
@ -4633,7 +4633,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