<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _invalid_string_quote(self, quote, row, correct_quote=None, col=None):
 """Add a message for an invalid string literal quote. Args: quote: The quote characters that were found. row: The row number the quote character was found on. correct_quote: The quote characters that is required. If None (default), will use the one from the config. col: The column the quote characters were found on. """

        if not correct_quote:
            correct_quote = SMART_QUOTE_OPTS.get(self.config.string_quote)

        self.add_message(
            'invalid-string-quote',
            line=row,
            args=(quote, correct_quote),
            **self.get_offset(col)
        )