def rescale_parent_proportion(self, *args):
        if not self.parent:
            return
        if self.rescale_with_parent:
            parent_proportion = self._parent_proportion
            if ('top', 'bottom') in self.sizable_from:
                new_height = parent_proportion * self.parent.height
                self.height = max(self.min_size, min(new_height, self.max_size))
            else:
                new_width = parent_proportion * self.parent.width
                self.width = max(self.min_size, min(new_width, self.max_size))
dataset/ETHPy150Open kivy/kivy/kivy/uix/splitter.py/Splitter.rescale_parent_proportion/swapped operands of `in`