def unquote_filename(name, win32=(sys.platform == 'win32')):
 warn("'unquote_filename' is deprecated since IPython 5.0 and should not be used anymore", DeprecationWarning, stacklevel=2)
 if win32:
  if (name.startswith(("'", '"')) and name.endswith(("'", '"'))):
   name = name[1:(-1)]
 return name

def unquote_filename ( name , win32 = ( sys . platform == 'win32' ) ) : warn ( "'unquote_filename' is deprecated since IPython 5.0 and should not be used anymore" , DeprecationWarning , stacklevel = 2 ) if win32 : if ( name . startswith ( ( "'" , '"' ) ) and name . endswith ( ( "'" , '"' ) ) ) : name = name [ 1 : ( - 1 ) ] return name
on windows .