<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def redirect_subwindows(self, update, onerror = None):
 """Redirect the hierarchies starting at all current and future children to this window to off-screen storage. """

    RedirectSubwindows(display = self.display,
                       onerror = onerror,
                       opcode = self.display.get_extension_major(extname),
                       window = self,
                       update = update,
                       )