Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b802882

Browse files
authored
gh-111092: Make turtledemo run without default root enabled (#111093)
Add missing 'root' argument to PanedWindow call. Other root children already have it.
1 parent 8d234cd commit b802882

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)