def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def __setitem__(self, key, value):
        self._collection[key] = self._from_python(key, value)