turtle.setundobuffer(size)
Parameters: |
size – an integer or None
|
---|
Set or disable undobuffer. If size is an integer an empty undobuffer of given size is installed. size gives the maximum number of turtle actions that can be undone by the undo()
method/function. If size is None
, the undobuffer is disabled.
>>> turtle.setundobuffer(42)
Please login to continue.