def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def __maximization_step(self):
        self.__pic = []
        self.__means = []
        self.__variances = []