def deleteLastChar (self) :
        """Delete a character from the context"""
        c = self.data_.drop();
        # Notice the \n so we can notice when new lines begin
        if (c=='\n') :
            self.lineNumber_ -= 1
            # Find last \n ... if we can
            index_of_last_newline = -1
            for ii in xrange(0, len(self.data_)) :
                if (self.data_.peek(ii-1-len(self.data_))=='\n') :
                    index_of_last_newline = ii
                    break   
      
            self.charNumber_ = index_of_last_newline
            if (index_of_last_newline==-1) : self.charNumber = 80
        else :
            self.charNumber_-=1;


    # Add from this buffer, the amount of data
dataset/ETHPy150Open redhat-imaging/imagefactory/imgfac/picklingtools/parsereader.py/Context_.deleteLastChar/swapped operands of `-`