From 2ccc63a46352a0a7bce467f83f9200944e97036e 2010-10-09 23:59:26 From: Fernando Perez Date: 2010-10-09 23:59:26 Subject: [PATCH] Fix crash with 'x?' when input line had unusual patterns. --- diff --git a/IPython/core/inputsplitter.py b/IPython/core/inputsplitter.py index b53d6bc..2d1112c 100644 --- a/IPython/core/inputsplitter.py +++ b/IPython/core/inputsplitter.py @@ -862,10 +862,9 @@ class EscapedTransformer(object): # From here on, simply choose which level of detail to get, and # special-case the psearch syntax + pinfo = 'pinfo' # default if '*' in line_info.line: pinfo = 'psearch' - elif line_info.esc == '?': - pinfo = 'pinfo' elif line_info.esc == '??': pinfo = 'pinfo2'