class_docstr: Make blob objects behave like Python strings.
  
  Expects that classes that use this mixin to have a _strkey() method that
  returns the string to apply string methods to. Using _strkey() instead
  of __str__ ensures consistent behavior between Python 2 and 3.
docstr: Like blob.rfind() but raise ValueError when substring is not
  found.
docstr_tok: ["Like","blob.rfind","(",")","but","raise","ValueError","when","substring","is","not","found","."]
code: def rindex(self, sub, start=0, end=sys.maxsize):
      """Like blob.rfind() but raise ValueError when substring is not
      found.
      """
      return self._strkey().rindex(sub, start, end)
  
imports: from __future__ import absolute_import
  import sys
  from textblob.compat import basestring, implements_to_string, PY2, binary_type
label_desc: Use image node_id 10 for calling the StringlikeMixin obj's underlying member method code with example usage: obj.rindex(sub, start, end) and returns: self