def mute_string(text):
    start = 1
    end = len(text) - 1
    # String modifiers (e.g. u or r)
    if text.endswith('"'):
        start += text.index('"')
    elif text.endswith("'"):
        start += text.index("'")
    # Triple quotes
    if text.endswith('"""') or text.endswith("'''"):
        start += 2
        end -= 2
    return text[:start] + 'x' * (end - start) + text[end:]
updateContents(inputPorts: tuple) -> None
dataset/ETHPy150Open sahana/eden/static/scripts/tools/pep8.py/mute_string--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/widgets/svg/svg.py/SVGCellWidget.updateContents