parameters: (self, num=10, segment=0)
return_statement: return self._builder.read_history(num, segment)
docstring: Outputs the last `num` elements that were appended either by `append` or
          `append_multiple`.
  
          Returns
          -------
          out : list
docstring_summary: Outputs the last `num` elements that were appended either by `append` or
          `append_multiple`.
docstring_tokens: Outputs the last num elements that were appended either by append or append_multiple .
function: def read_history(self, num=10, segment=0):
          """
          Outputs the last `num` elements that were appended either by `append` or
          `append_multiple`.
  
          Returns
          -------
          out : list
  
          """
          if num < 0:
              num = 0
          if segment < 0:
              raise TypeError("segment must be >= 0")
          return self._builder.read_history(num, segment)
function_tokens: def read_history ( self , num = 10 , segment = 0 ) : if num < 0 : num = 0 if segment < 0 : raise TypeError ( "segment must be >= 0" ) return self . _builder . read_history ( num , segment )