<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def draw_rects(self, *rects):
 """Draw some number of rectangles on the current rendering target. Args: *rects (Rect):
 The destination rectangles. Raises: SDLError: If an error is encountered. """

        rect_array = ffi.new('SDL_Rect[]', len(rects))
        for i, r in enumerate(rects):
            rect_array[i] = r._ptr[0]
        check_int_err(lib.SDL_RenderDrawRects(self._ptr, rect_array, len(rects)))