def _insert_block(self, cursor, block_format=None):
        """ Inserts an empty QTextBlock using the specified cursor.
        """
        if block_format is None:
            block_format = QtGui.QTextBlockFormat()
        cursor.insertBlock(block_format)
 Inserts an empty QTextBlock using the specified cursor.
        
angrmanagement/vendor/qtconsole/console_widget.py