parameters: (self)
return_statement: return item
docstring: Get the previous item in the history cache, moving the
          current position towards the beginning of the cache.
          @return: object or None if at start of list
docstring_summary: Get the previous item in the history cache, moving the
          current position towards the beginning of the cache.
          @return: object or None if at start of list
docstring_tokens: Get the previous item in the history cache moving the current position towards the beginning of the cache . @return : object or None if at start of list
function: def GetPreviousItem(self):
          """Get the previous item in the history cache, moving the
          current position towards the beginning of the cache.
          @return: object or None if at start of list
  
          """
          item = None
          if self.cpos >= 0 and len(self._list) > 0:
              if self.cpos == len(self._list):
                  self.cpos -= 1
              item = self._list[self.cpos]
              self.cpos -= 1
          return item
function_tokens: def GetPreviousItem ( self ) : item = None if self . cpos >= 0 and len ( self . _list ) > 0 : if self . cpos == len ( self . _list ) : self . cpos -= 1 item = self . _list [ self . cpos ] self . cpos -= 1 return item