def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def setdefault(self, key, default=None):
        return self._collection.setdefault(key, self._from_python(key, default))