Lines Matching refs:lines
32 'list', where it lists the next 11 lines.
307 # from the interaction, save leftover rc lines
596 The commands themselves are entered on the following lines.
1291 list 11 lines around the current line or continue the previous
1292 listing. With . as argument, list 11 lines around the current
1293 line. With one argument, list 11 lines starting at that line.
1334 lines = linecache.getlines(filename, self.curframe.f_globals)
1335 self._print_lines(lines[first-1:last], first, breaklist,
1337 self.lineno = min(last, len(lines))
1338 if len(lines) < last:
1351 lines, lineno = self._getsourcelines(self.curframe)
1355 self._print_lines(lines, lineno, breaklist, self.curframe)
1367 lines, lineno = self._getsourcelines(obj)
1371 self._print_lines(lines, lineno)
1375 def _print_lines(self, lines, start, breaks=(), frame=None):
1376 """Print a range of lines."""
1382 for lineno, line in enumerate(lines, start):
1652 lines, lineno = inspect.getsourcelines(obj)
1654 return lines, lineno