@classmethod<EOL><INDENT>def split_comment(cls, code):<DEDENT>
if '<STR_LIT:#>' not in code: return code<EOL>subf = lambda m: '<STR_LIT>' if m.group(<NUM_LIT:0>)[<NUM_LIT:0>]=='<STR_LIT:#>' else m.group(<NUM_LIT:0>)<EOL>return re.sub(cls.re_pytokens, subf, code)<EOL>
Removes comments (#...) from python code.