code: def sub(self, repl, string, count=0):
          
          return self._subx(repl, string, count, False)
docs: Return the string obtained by replacing the leftmost non-overlapping
          occurrences of pattern in string by the replacement repl.