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: Return a new blob object with all the occurence of `old` replaced
  by `new`.
docstr_tok: ["Return","a","new","blob","object","with","all","the","occurence","of","`","old","`","replaced","by","`","new","`","."]
code: def replace(self, old, new, count=sys.maxsize):
      """Return a new blob object with all the occurence of `old` replaced
      by `new`.
      """
      return self.__class__(self._strkey().replace(old, new, count))
  
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 20 for calling the StringlikeMixin obj's underlying member method code with example usage: obj.replace(old, new, count) and returns: self