def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def popitem(self):
        key, value = self._collection.popitem()
        return key, self._to_python(value)