From 982d4bb240e9abb8dafa8f6d99524dbd044dbe54 2017-05-05 17:39:47 From: Ignat Shining Date: 2017-05-05 17:39:47 Subject: [PATCH] Fix a typo --- diff --git a/IPython/core/interactiveshell.py b/IPython/core/interactiveshell.py index 96aca62..cb4924b 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -703,7 +703,7 @@ class InteractiveShell(SingletonConfigurable): # In Cygwin paths like "c:\..." and '\cygdrive\c\...' are possible if p_venv.startswith('\\cygdrive'): p_venv = p_venv[11:] - else if p_venv[1] == ':': + elif p_venv[1] == ':': p_venv = p_venv[2:] if any(p_venv in p for p in paths):