merge
This commit is contained in:
commit
569a7fa13a
|
@ -2594,7 +2594,7 @@ class RawTurtle(TPen, TNavigator):
|
|||
Example (for a Turtle instance named turtle):
|
||||
>>> turtle.setundobuffer(42)
|
||||
"""
|
||||
if size is None:
|
||||
if size is None or size <= 0:
|
||||
self.undobuffer = None
|
||||
else:
|
||||
self.undobuffer = Tbuffer(size)
|
||||
|
|
Loading…
Reference in New Issue