def __setattr__(self, attr, value):
chk = attr[:<NUM_LIT:1>] == '<STR_LIT:_>'<EOL>attr = attr[<NUM_LIT:1>:] if chk else attr<EOL>if not isinstance(value, int):<EOL><INDENT>raise TypeError("<STR_LIT>")<EOL><DEDENT>if not self._hasattr(attr) or chk:<EOL><INDENT>self._curr[attr] = self._prev[attr] = value<EOL><DEDENT>else:<EOL><INDENT>self._curr[attr], self._prev[attr] = value, self._curr[attr]<EOL><DEDENT>
Set the current position