#NEWLINE# def pop( self , row = None ) : #NEWLINE# #INDENT# '\n        Remove and return an item (default last item)\n\n        Parameters\n        ----------\n        row : int (optional)\n            Which row to remove. Default=last\n\n        Returns\n        --------\n        popped : object\n        ' #NEWLINE# if ( row is None ) : #NEWLINE# #INDENT# row = ( len ( self ) - 1 ) #NEWLINE# #UNINDENT# result = self [ row ] #NEWLINE# self . removeRow ( row ) #NEWLINE# return result