Commit 569a7fa1 authored by Raymond Hettinger's avatar Raymond Hettinger

merge

parents 7e9522fa 854e76ef
...@@ -2594,7 +2594,7 @@ class RawTurtle(TPen, TNavigator): ...@@ -2594,7 +2594,7 @@ class RawTurtle(TPen, TNavigator):
Example (for a Turtle instance named turtle): Example (for a Turtle instance named turtle):
>>> turtle.setundobuffer(42) >>> turtle.setundobuffer(42)
""" """
if size is None: if size is None or size <= 0:
self.undobuffer = None self.undobuffer = None
else: else:
self.undobuffer = Tbuffer(size) self.undobuffer = Tbuffer(size)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment