turtle.undobufferentries()
Return number of entries in the undobuffer.
>>> while undobufferentries(): ... undo()
Please login to continue.
Please login to continue.