@classmethod
    def split_comment(cls, code):
        if '#' not in code: return code
        #: Remove comments only (leave quoted strings as they are)
        subf = lambda m: '' if m.group(0)[0]=='#' else m.group(0)
        return re.sub(cls.re_pytokens, subf, code)
Test the sorting qualities.
dataset/ETHPy150Open adampresley/bottlepy-bootstrap/app/bottle.py/SimpleTemplate.split_comment--crossover with--dataset/ETHPy150Open LettError/MutatorMath/Lib/mutatorMath/objects/location.py/test_sorting