def yank(self):
        """ Yank back the most recently killed text.
        """
        text = self._ring.yank()
        if text:
            self._skip_cursor = True
            cursor = self._text_edit.textCursor()
            cursor.insertText(text)
            self._prev_yank = text
 Yank back the most recently killed text.
        
angrmanagement/vendor/qtconsole/kill_ring.py