summaryrefslogtreecommitdiffstats
path: root/Demo/turtle
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-09-29 22:19:08 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-09-29 22:19:08 (GMT)
commit601149bb8e4fd200cc5b0b670f34c608c64e0783 (patch)
tree62044eeb592cfc0305f8d0b63985231b0053ce03 /Demo/turtle
parent28acc6cae585d3cae81755f52fed66a4cb04c128 (diff)
downloadcpython-601149bb8e4fd200cc5b0b670f34c608c64e0783.zip
cpython-601149bb8e4fd200cc5b0b670f34c608c64e0783.tar.gz
cpython-601149bb8e4fd200cc5b0b670f34c608c64e0783.tar.bz2
Merged revisions 66686 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66686 | martin.v.loewis | 2008-09-30 00:09:07 +0200 (Di, 30 Sep 2008) | 5 lines Issue #3965: Allow repeated calls to turtle.Screen, by making it a true singleton object. Reviewed by Gregor Lingl. ........
Diffstat (limited to 'Demo/turtle')
-rw-r--r--Demo/turtle/turtleDemo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/turtle/turtleDemo.py b/Demo/turtle/turtleDemo.py
index b73daf0..36bf15c 100644
--- a/Demo/turtle/turtleDemo.py
+++ b/Demo/turtle/turtleDemo.py
@@ -96,8 +96,8 @@ class DemoWindow(object):
left_frame.pack(side=LEFT, fill=BOTH, expand=0)
self.graph_frame = g_frame = Frame(root)
- turtle.Screen._root = g_frame
- turtle.Screen._canvas = turtle.ScrolledCanvas(g_frame, 800, 600, 1000, 800)
+ turtle._Screen._root = g_frame
+ turtle._Screen._canvas = turtle.ScrolledCanvas(g_frame, 800, 600, 1000, 800)
#xturtle.Screen._canvas.pack(expand=1, fill="both")
self.screen = _s_ = turtle.Screen()
#####