Home
last modified time | relevance | path

Searched refs:code_line (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/tools/compatibility/
Dipynb.py71 def skip_magic(code_line, magic_list): argument
86 if six.ensure_str(code_line).startswith(magic):
92 def check_line_split(code_line): argument
105 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 …]
/external/libchrome/third_party/jinja2/
Denvironment.py1112 for template_line, code_line in reversed(self.debug_info):
1113 if code_line <= lineno:
/external/python/jinja/src/jinja2/
Denvironment.py1166 for template_line, code_line in reversed(self.debug_info):
1167 if code_line <= lineno: