environment/lib/python2.7/site-packages/IPython/frontend/qt/console/console_widget.py
def can_cut(self):
        """ Returns whether text can be cut to the clipboard.
        """
        cursor = self._control.textCursor()
        return (cursor.hasSelection() and
                self._in_buffer(cursor.anchor()) and
                self._in_buffer(cursor.position()))
def can_cut(self):
        cursor = self._control.textCursor()
        return (cursor.hasSelection() and
                self._in_buffer(cursor.anchor()) and
                self._in_buffer(cursor.position()))
def can_cut ( self ) : cursor = self . _control . textCursor ( ) return ( cursor . hasSelection ( ) and self . _in_buffer ( cursor . anchor ( ) ) and self . _in_buffer ( cursor . position ( ) ) )
Returns whether text can be cut to the clipboard.
Returns whether text can be cut to the clipboard .