environment/lib/python2.7/site-packages/IPython/frontend/qt/console/console_widget.py
def _get_input_buffer_cursor_prompt(self):
        """ Returns the (plain text) prompt for line of the input buffer that
            contains the cursor, or None if there is no such line.
        """
        if self._executing:
            return None
        cursor = self._control.textCursor()
        if cursor.position() >= self._prompt_pos:
            if cursor.blockNumber() == self._get_prompt_cursor().blockNumber():
                return self._prompt
            else:
                return self._continuation_prompt
        else:
            return None
def _get_input_buffer_cursor_prompt(self):
        """ Returns the (plain text) prompt for line of the input buffer that
            contains the cursor, or None if there is no such line.
        """
        if self._executing:
            return None
        cursor = self._control.textCursor()
        if cursor.position() >= self._prompt_pos:
            if cursor.blockNumber() == self._get_prompt_cursor().blockNumber():
                return self._prompt
            else:
                return self._continuation_prompt
        else:
            return None
def _get_input_buffer_cursor_prompt ( self ) : if self . _executing : return None cursor = self . _control . textCursor ( ) if cursor . position ( ) >= self . _prompt_pos : if cursor . blockNumber ( ) == self . _get_prompt_cursor ( ) . blockNumber ( ) : return self . _prompt else : return self . _continuation_prompt else : return None
Returns the (plain text) prompt for line of the input buffer that
            contains the cursor, or None if there is no such line.
Returns the ( plain text ) prompt for line of the input buffer that contains the cursor or None if there is no such line .