def blockIndentation(block):
            text = block.text()
            return text[:len(text) - len(text.lstrip())]
def setdefault(self, key, default=None):
        return self._collection.setdefault(key, self._from_python(key, default))