def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def create_class(length):
            class S(Structure):
                _fields_ = [('x' * length, c_int)]