human
Solve the following python programming problem given the following code:
def _mouse_modes(self) : 
    if (not self._coordinator.selections_enabled) : 
        return [] 
axes = self.client.axes 
    def apply_mode(mode) : 
        self.client.apply_roi (mode.roi ()) 
return [RectangleMode (axes, roi_callback = apply_mode), PolyMode (apply_mode, roi_callback = apply_mode)] 

    
    

    Fix the buggy line: return [RectangleMode (axes, roi_callback = apply_mode), PolyMode (apply_mode, roi_callback = apply_mode)]
assistant
#Here is Python code to fix the buggy line: return [RectangleMode (axes, roi_callback = apply_mode), PolyMode (apply_mode, roi_callback = apply_mode)]
.

return [RectangleMode (axes, roi_callback = apply_mode), PolyMode (axes, roi_callback = apply_mode)]