parameters: (self, size)
docstring: Set or disable undobuffer.
  
          Argument:
          size -- an integer or None
  
          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() function.
          If size is None, no undobuffer is present.
  
          Example (for a Turtle instance named turtle):
          >>> turtle.setundobuffer(42)
docstring_summary: Set or disable undobuffer.
docstring_tokens: Set or disable undobuffer .
function: def setundobuffer(self, size):
          """Set or disable undobuffer.
  
          Argument:
          size -- an integer or None
  
          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() function.
          If size is None, no undobuffer is present.
  
          Example (for a Turtle instance named turtle):
          >>> turtle.setundobuffer(42)
          """
          if size is None or size <= 0:
              self.undobuffer = None
          else:
              self.undobuffer = Tbuffer(size)
function_tokens: def setundobuffer ( self , size ) : if size is None or size <= 0 : self . undobuffer = None else : self . undobuffer = Tbuffer ( size )