environment/lib/python2.7/site-packages/IPython/core/prefilter.py
def check(self, line_info):
        """Check for escape character and return either a handler to handle it,
        or None if there is no escape char."""
        if line_info.line[-1] == ESC_HELP \
               and line_info.esc != ESC_SHELL \
               and line_info.esc != ESC_SH_CAP:
            # the ? can be at the end, but *not* for either kind of shell escape,
            # because a ? can be a vaild final char in a shell cmd
            return self.prefilter_manager.get_handler_by_name('help')
        else:
            if line_info.pre:
                return None
            # This returns None like it should if no handler exists
            return self.prefilter_manager.get_handler_by_esc(line_info.esc)
def check(self, line_info):
        """Check for escape character and return either a handler to handle it,
        or None if there is no escape char."""
        if line_info.line[-1] == ESC_HELP \
               and line_info.esc != ESC_SHELL \
               and line_info.esc != ESC_SH_CAP:
            # the ? can be at the end, but *not* for either kind of shell escape,
            # because a ? can be a vaild final char in a shell cmd
            return self.prefilter_manager.get_handler_by_name('help')
        else:
            if line_info.pre:
                return None
            # This returns None like it should if no handler exists
            return self.prefilter_manager.get_handler_by_esc(line_info.esc)
Check for escape character and return either a handler to handle it,
        or None if there is no escape char.