original_docstring: Remove a widget from this grid
  
          Parameters
          ----------
          widget : Widget
              The Widget to remove
          
docstring: Remove a widget from this grid
  Parameters
  
  widget : Widget
  The Widget to remove
docstring_tokens: Remove a widget from this grid Parameters widget : Widget The Widget to remove
code: def remove_widget(self, widget):
          """Remove a widget from this grid
  
          Parameters
          ----------
          widget : Widget
              The Widget to remove
          """
  
          self._grid_widgets = dict((key, val)
                                    for (key, val) in self._grid_widgets.items()
                                    if val[-1] != widget)
  
          self._need_solver_recreate = True
code_tokens: def remove_widget ( self , widget ) : self . _grid_widgets = dict ( ( key , val ) for ( key , val ) in self . _grid_widgets . items ( ) if val [ - 1 ] != widget ) self . _need_solver_recreate = True
short_docstring: Remove a widget from this grid
  Parameters
short_docstring_tokens: Remove a widget from this grid Parameters
comment: """Remove a widget from this grid
  
          Parameters
          ----------
          widget : Widget
              The Widget to remove
          """