parameters: (self, evt)
docstring: Button event handler
          @param evt: wx.EVT_BUTTON
docstring_summary: Button event handler
          @param evt: wx.EVT_BUTTON
docstring_tokens: Button event handler @param evt : wx . EVT_BUTTON
function: def OnButton(self, evt):
          """Button event handler
          @param evt: wx.EVT_BUTTON
  
          """
          if evt.GetEventObject() == self._clear:
              self._shell.clear()
              self._shell.prompt()
          else:
              evt.Skip()
function_tokens: def OnButton ( self , evt ) : if evt . GetEventObject ( ) == self . _clear : self . _shell . clear ( ) self . _shell . prompt ( ) else : evt . Skip ( )