Home | History | Annotate | Download | only in scripts

Lines Matching refs:strip

227   """Strip meta comments from each line in the given string."""
496 elif not next.value.strip():
658 identifier = node.identifier.value.strip()
664 identifier = node.identifier.value.strip()
669 identifier = node.identifier.value.strip()
727 comment = line[loc + 2:].strip()
734 if cur_line.strip() != '':
737 if cur_line.strip() != '':
738 output.append(prefix + cur_line.strip())
748 segs = [seg for seg in re.split(r'([^,;]+[,;]?)', line.strip()) if seg != '']
752 while cur_line == '' and len(seg.strip()) > max_len:
755 output.append(prefix + seg[:split_at].strip() + line_concat)
767 if cur_line.strip() != '':
768 output.append(prefix + cur_line.strip())