Skip to content

Commit 69f0c90

Browse files
[3.11] gh-111092: Make turtledemo run without default root enabled (GH-111093) (#111096)
gh-111092: Make turtledemo run without default root enabled (GH-111093) Add missing 'root' argument to PanedWindow call. Other root children already have it. (cherry picked from commit b802882) Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent 2b3f9a5 commit 69f0c90

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/turtledemo/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def __init__(self, filename=None):
161161
label='Help', underline=0)
162162
root['menu'] = self.mBar
163163

164-
pane = PanedWindow(orient=HORIZONTAL, sashwidth=5,
164+
pane = PanedWindow(root, orient=HORIZONTAL, sashwidth=5,
165165
sashrelief=SOLID, bg='#ddd')
166166
pane.add(self.makeTextFrame(pane))
167167
pane.add(self.makeGraphFrame(pane))
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Make turtledemo run without default root enabled.

0 commit comments

Comments
 (0)