def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def wrapper%(signature)s:
    with ldap3mock:
        return func%(funcargs)s