environment/lib/python2.7/site-packages/IPython/frontend/qt/console/frontend_widget.py
def _get_context(self, cursor=None):
        """ Gets the context for the specified cursor (or the current cursor
            if none is specified).
        """
        if cursor is None:
            cursor = self._get_cursor()
        cursor.movePosition(QtGui.QTextCursor.StartOfBlock,
                            QtGui.QTextCursor.KeepAnchor)
        text = cursor.selection().toPlainText()
        return self._completion_lexer.get_context(text)
def _get_context(self, cursor=None):
        """ Gets the context for the specified cursor (or the current cursor
            if none is specified).
        """
        if cursor is None:
            cursor = self._get_cursor()
        cursor.movePosition(QtGui.QTextCursor.StartOfBlock,
                            QtGui.QTextCursor.KeepAnchor)
        text = cursor.selection().toPlainText()
        return self._completion_lexer.get_context(text)
def _get_context ( self , cursor = None ) : if cursor is None : cursor = self . _get_cursor ( ) cursor . movePosition ( QtGui . QTextCursor . StartOfBlock , QtGui . QTextCursor . KeepAnchor ) text = cursor . selection ( ) . toPlainText ( ) return self . _completion_lexer . get_context ( text )
Gets the context for the specified cursor (or the current cursor
            if none is specified).
Gets the context for the specified cursor ( or the current cursor if none is specified ) .