def fix_error_editor(self, filename, linenum, column, msg):
 warnings.warn('\n`fix_error_editor` is pending deprecation as of IPython 5.0 and will be removed\nin future versions. It appears to be used only for automatically fixing syntax\nerror that has been broken for a few years and has thus been removed. If you\nhappend to use this function and still need it please make your voice heard on\nthe mailing list ipython-dev@scipy.org , or on the GitHub Issue tracker:\nhttps://github.com/ipython/ipython/issues/9649 ', UserWarning)
 def vim_quickfix_file():
  t = tempfile.NamedTemporaryFile()
  t.write(('%s:%d:%d:%s\n' % (filename, linenum, column, msg)))
  t.flush()
  return t
 if (os.path.basename(self.editor) != 'vim'):
  self.hooks.editor(filename, linenum)
  return
 t = vim_quickfix_file()
 try:
  if os.system(('vim --cmd "set errorformat=%f:%l:%c:%m" -q ' + t.name)):
   raise TryNext()
 finally:
  t.close()

def fix_error_editor ( self , filename , linenum , column , msg ) : warnings . warn ( '\n`fix_error_editor` is pending deprecation as of IPython 5.0 and will be removed\nin future versions. It appears to be used only for automatically fixing syntax\nerror that has been broken for a few years and has thus been removed. If you\nhappend to use this function and still need it please make your voice heard on\nthe mailing list ipython-dev@scipy.org , or on the GitHub Issue tracker:\nhttps://github.com/ipython/ipython/issues/9649 ' , UserWarning ) def vim_quickfix_file ( ) : t = tempfile . NamedTemporaryFile ( ) t . write ( ( '%s:%d:%d:%s\n' % ( filename , linenum , column , msg ) ) ) t . flush ( ) return t if ( os . path . basename ( self . editor ) != 'vim' ) : self . hooks . editor ( filename , linenum ) return t = vim_quickfix_file ( ) try : if os . system ( ( 'vim --cmd "set errorformat=%f:%l:%c:%m" -q ' + t . name ) ) : raise TryNext ( ) finally : t . close ( )
deprecated open the editor at the given filename .