kerncraft/iaca.py
def strip_and_uncomment(asm_lines):
    """Strip whitespaces and comments from asm lines."""
    asm_stripped = []
    for line in asm_lines:
        # Strip comments and whitespaces
        asm_stripped.append(line.split('#')[0].strip())
    return asm_stripped
def strip_and_uncomment(asm_lines):
    asm_stripped = []
    for line in asm_lines:
        # Strip comments and whitespaces
        asm_stripped.append(line.split('#')[0].strip())
    return asm_stripped
def strip_and_uncomment ( asm_lines ) : asm_stripped = [ ] for line in asm_lines : # Strip comments and whitespaces asm_stripped . append ( line . split ( '#' ) [ 0 ] . strip ( ) ) return asm_stripped
Strip whitespaces and comments from asm lines.
Strip whitespaces and comments from asm lines .