docstr: Restore raw_input, getpass
docstr_tok: ["Restore","raw_input",",","getpass"]
code: def _restore_input(self):
      """Restore raw_input, getpass"""
      if PY3:
          builtin_mod.input = self._sys_raw_input
      else:
          builtin_mod.raw_input = self._sys_raw_input
          builtin_mod.input = self._sys_eval_input
  
      getpass.getpass = self._save_getpass
  
imports: import getpass
  import sys
  from IPython.core import release
  from ipython_genutils.py3compat import builtin_mod, PY3, unicode_type, safe_unicode
  from IPython.utils.tokenutil import token_at_cursor, line_at_cursor
  from traitlets import Instance, Type, Any, List, Bool
  from .comm import CommManager
  from .kernelbase import Kernel
  from .zmqshell import ZMQInteractiveShell
label_desc: Use image node_id 10 for calling the IPythonKernel obj's underlying member method code with example usage: obj._restore_input() without return types