mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +00:00
[3.11] gh-110345: show Tcl/Tk patchlevel in tkinter._test() (GH-110350) (GH-114252)
(cherry picked from commit b8f29b1293)
Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
This commit is contained in:
parent
569182c4ad
commit
4bc0c07051
2 changed files with 2 additions and 1 deletions
|
|
@ -4632,7 +4632,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…
Add table
Add a link
Reference in a new issue