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