Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb8f29b1

Browse files
authored
gh-110345: show Tcl/Tk patchlevel intkinter._test() (GH-110350)
1 parent8e31cdc commitb8f29b1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎Lib/tkinter/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4715,7 +4715,7 @@ def panes(self):
47154715

47164716
def_test():
47174717
root=Tk()
4718-
text="This is Tcl/Tkversion%s"%TclVersion
4718+
text="This is Tcl/Tk %s"%root.globalgetvar('tk_patchLevel')
47194719
text+="\nThis should be a cedilla:\xe7"
47204720
label=Label(root,text=text)
47214721
label.pack()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Show the Tcl/Tk patchlevel (rather than version) in:meth:`tkinter._test`.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp