Searched refs:code_line (Results 1 – 3 of 3) sorted by relevance
71 def skip_magic(code_line, magic_list): argument86 if six.ensure_str(code_line).startswith(magic):92 def check_line_split(code_line): argument105 return re.search(r"\\\s*\n$", code_line)122 for line_idx, code_line in enumerate(cell_lines):126 if skip_magic(code_line, ["%", "!", "?"]) or is_line_split:128 code_line = "###!!!" + six.ensure_str(code_line)131 is_line_split = check_line_split(code_line)134 is_line_split = check_line_split(code_line)140 1) and six.ensure_str(code_line).endswith("\n"):[all …]
1112 for template_line, code_line in reversed(self.debug_info):1113 if code_line <= lineno:
1166 for template_line, code_line in reversed(self.debug_info):1167 if code_line <= lineno: