def includeRect(self, r):
if not len(r) == <NUM_LIT:4>:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self.x0, self.y0, self.x1, self.y1 = TOOLS._union_rect(self, r)<EOL>return self<EOL>
Extend rectangle to include rectangle r.