def dequote(string):
    """Remove quotes from around a string."""
    if string.startswith('"') and string.endswith('"') or string.startswith("'"
        ) and string.endswith("'"):
        return string[1:-1]
    else:
        return string
