class_docstr: Allow blob objects to be comparable with both strings and blobs.
code: def _compare(self, other, method):
      if isinstance(other, basestring):
          # Just compare with the other string
          return method(self._cmpkey(), other)
      return super(BlobComparableMixin, self)._compare(other, method)
  
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 1 for calling the BlobComparableMixin obj's underlying member method code with example usage: obj._compare(other, method) and returns: super, method