Lines Matching full:line
21 for filename, lineno, name, line in extracted_list:
23 ' File "%s", line %d, in %s' % (filename,lineno,name))
24 if line:
25 _print(file, ' %s' % line.strip())
35 whose source text line is not None.
38 for filename, lineno, name, line in extracted_list:
39 item = ' File "%s", line %d, in %s\n' % (filename,lineno,name)
40 if line:
41 item = item + ' %s\n' % line.strip()
67 ' File "%s", line %d, in %s' % (filename, lineno, name))
69 line = linecache.getline(filename, lineno, f.f_globals)
70 if line: _print(file, ' ' + line.strip())
83 pre-processed stack trace entry is a quadruple (filename, line
101 line = linecache.getline(filename, lineno, f.f_globals)
102 if line: line = line.strip()
103 else: line = None
104 list.append((filename, lineno, name, line))
117 appropriate format, it prints the line where the syntax error
118 occurred with a caret on the next line indicating the approximate
127 for line in lines:
128 _print(file, line, '')
188 lines.append(' File "%s", line %d\n' % (filename, lineno))
203 """Return a list of a single line -- normal case for format_exception_only"""
206 line = "%s\n" % etype
208 line = "%s: %s\n" % (etype, valuestr)
209 return line
286 line number, function name, text), and the entries are in order
305 line = linecache.getline(filename, lineno, f.f_globals)
306 if line: line = line.strip()
307 else: line = None
308 list.append((filename, lineno, name, line))
315 """Calculate correct line number of traceback given in tb.