class_docstr: Modified Pdb class, does not load readline.
  
  for a standalone version that uses prompt_toolkit, see
  `IPython.terminal.debugger.TerminalPdb` and
  `IPython.terminal.debugger.set_trace()`
class_docstr_tok: ["Modified","Pdb","class",",","does","not","load","readline",".","for","a","standalone","version","that","uses","prompt_toolkit",",","see","`","IPython.terminal.debugger.TerminalPdb","`","and","`","IPython.terminal.debugger.set_trace","(",")","`"]
docstr: The printing (as opposed to the parsing part of a 'list'
  command.
docstr_tok: ["The","printing","(","as","opposed","to","the","parsing","part","of","a","'list'","command","."]
code: def print_list_lines(self, filename, first, last):
      """The printing (as opposed to the parsing part of a 'list'
      command."""
      try:
          Colors = self.color_scheme_table.active_colors
          ColorsNormal = Colors.Normal
          tpl_line = "%%s%s%%s %s%%s" % (Colors.lineno, ColorsNormal)
          tpl_line_em = "%%s%s%%s %s%%s%s" % (
              Colors.linenoEm,
              Colors.line,
              ColorsNormal,
          )
          src = []
          if filename == "<string>" and hasattr(self, "_exec_filename"):
              filename = self._exec_filename
  
          for lineno in range(first, last + 1):
              line = ulinecache.getline(filename, lineno)
              if not line:
                  break
  
              if lineno == self.curframe.f_lineno:
                  line = self.__format_line(
                      tpl_line_em, filename, lineno, line, arrow=True
                  )
              else:
                  line = self.__format_line(
                      tpl_line, filename, lineno, line, arrow=False
                  )
  
              src.append(line)
              self.lineno = lineno
  
          print("".join(src))
  
      except KeyboardInterrupt:
          pass
  
imports: from __future__ import print_function
  import bdb
  import functools
  import inspect
  import sys
  import warnings
  from IPython import get_ipython
  from IPython.utils import PyColorize, ulinecache
  from IPython.utils import coloransi, py3compat
  from IPython.core.excolors import exception_colors
  from IPython.testing.skipdoctest import skip_doctest
  from pdb import Pdb
label_desc: Use image node_id 13 for calling the Pdb obj's underlying member method code with example usage: obj.print_list_lines(filename, first, last) without return types