environment/lib/python2.7/site-packages/IPython/frontend/qt/console/frontend_widget.py
def _tab_pressed(self):
        """ Called when the tab key is pressed. Returns whether to continue
            processing the event.
        """
        # Perform tab completion if:
        # 1) The cursor is in the input buffer.
        # 2) There is a non-whitespace character before the cursor.
        text = self._get_input_buffer_cursor_line()
        if text is None:
            return False
        complete = bool(text[:self._get_input_buffer_cursor_column()].strip())
        if complete:
            self._complete()
        return not complete
def _tab_pressed(self):
        # Perform tab completion if:
        # 1) The cursor is in the input buffer.
        # 2) There is a non-whitespace character before the cursor.
        text = self._get_input_buffer_cursor_line()
        if text is None:
            return False
        complete = bool(text[:self._get_input_buffer_cursor_column()].strip())
        if complete:
            self._complete()
        return not complete
def _tab_pressed ( self ) : # Perform tab completion if: # 1) The cursor is in the input buffer. # 2) There is a non-whitespace character before the cursor. text = self . _get_input_buffer_cursor_line ( ) if text is None : return False complete = bool ( text [ : self . _get_input_buffer_cursor_column ( ) ] . strip ( ) ) if complete : self . _complete ( ) return not complete
Called when the tab key is pressed. Returns whether to continue
            processing the event.
Called when the tab key is pressed . Returns whether to continue processing the event .