import re


def remove_coding(text):
    """
    Remove the coding comment, which six.exec_ doesn't like.
    """
    return re.sub(
        "^#\s*-\*-\s*coding:\s*.*-\*-$", "", text, flags=re.MULTILINE)