Skip to content

Commit

Permalink
pythongh-111092: Make turtledemo run without default root enabled (py…
Browse files Browse the repository at this point in the history
…thon#111093)

Add missing 'root' argument to PanedWindow call.
Other root children already have it.
  • Loading branch information
terryjreedy committed Oct 20, 2023
1 parent 8d234cd commit b802882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/turtledemo/__main__.py
Expand Up @@ -161,7 +161,7 @@ def __init__(self, filename=None):
label='Help', underline=0)
root['menu'] = self.mBar

pane = PanedWindow(orient=HORIZONTAL, sashwidth=5,
pane = PanedWindow(root, orient=HORIZONTAL, sashwidth=5,
sashrelief=SOLID, bg='#ddd')
pane.add(self.makeTextFrame(pane))
pane.add(self.makeGraphFrame(pane))
Expand Down
@@ -0,0 +1 @@
Make turtledemo run without default root enabled.

0 comments on commit b802882

Please sign in to comment.