(self)
return self.undobuffer.nr_of_items()
Return count of entries in the undobuffer.

        No argument.

        Example (for a Turtle instance named turtle):
        >>> while undobufferentries():
        ...     undo()
Return count of entries in the undobuffer.
Return count of entries in the undobuffer .
def undobufferentries(self):
        """Return count of entries in the undobuffer.

        No argument.

        Example (for a Turtle instance named turtle):
        >>> while undobufferentries():
        ...     undo()
        """
        if self.undobuffer is None:
            return 0
        return self.undobuffer.nr_of_items()
def undobufferentries ( self ) : if self . undobuffer is None : return 0 return self . undobuffer . nr_of_items ( )