def countLineWhitespace(self, line, type):
        """Count the number of whitespace characters at the start of a line.

        Keyword arguments:
        self -- self
        line -- the line to count on
        type -- the type of spacing being used
        """
        return len(line.lstrip(type)) - len(line)
dataset/ETHPy150Open swirlycheetah/jasmine-scaffold-sublime-text/main.py/JasmineScaffoldCommand.countLineWhitespace/swapped operands of `-`