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: Restart command. In the context of ipython this is exactly the same
  thing as 'quit'.
docstr_tok: ["Restart","command",".","In","the","context","of","ipython","this","is","exactly","the","same","thing","as","'quit","'","."]
code: def new_do_restart(self, arg):
      """Restart command. In the context of ipython this is exactly the same
      thing as 'quit'."""
      self.msg("Restart doesn't make sense here. Using 'quit' instead.")
      return self.do_quit(arg)
  
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 8 for calling the Pdb obj's underlying member method code with example usage: obj.new_do_restart(arg) and returns: self