summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/turtle.py2
-rwxr-xr-xLib/turtledemo/clock.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/Lib/turtle.py b/Lib/turtle.py
index f3b320b..1127283 100644
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -595,7 +595,6 @@ class TurtleScreenBase(object):
item = self.cv.create_text(x-1, -y, text = txt, anchor = anchor[align],
fill = pencolor, font = font)
x0, y0, x1, y1 = self.cv.bbox(item)
- self.cv.update()
return item, x1-1
## def _dot(self, pos, size, color):
@@ -3403,6 +3402,7 @@ class RawTurtle(TPen, TNavigator):
"""
item, end = self.screen._write(self._position, txt, align, font,
self._pencolor)
+ self._update()
self.items.append(item)
if self.undobuffer:
self.undobuffer.push(("wri", item))
diff --git a/Lib/turtledemo/clock.py b/Lib/turtledemo/clock.py
index 62c8851..9f8585b 100755
--- a/Lib/turtledemo/clock.py
+++ b/Lib/turtledemo/clock.py
@@ -109,7 +109,6 @@ def tick():
writer.write(datum(t),
align="center", font=("Courier", 14, "bold"))
writer.forward(85)
- tracer(True)
second_hand.setheading(6*sekunde) # or here
minute_hand.setheading(6*minute)
hour_hand.setheading(30*stunde)