@staticmethod
    def strip_quotes(text):
        first = text[0]

        if first in ('\'', '"') and text[-1] == first:
            text = text[1:-1]

        return text
Return text stripped of enclosing single/double quotes.
dataset/ETHPy150Open SublimeLinter/SublimeLinter3/lint/highlight.py/Highlight.strip_quotes