parameters: (self)
return_statement: return self._items.pop()
docstring: Returns and removes the last item for the list, which is also the
          top item of the stack.
  
          The runtime here is constant time, because all it does is index to the
          last item of the list.
  
          :return: return top item of the stack or None, if stack is empty
docstring_summary: Returns and removes the last item for the list, which is also the
          top item of the stack.
docstring_tokens: Returns and removes the last item for the list which is also the top item of the stack .
function: def pop(self):
          """ Returns and removes the last item for the list, which is also the
          top item of the stack.
  
          The runtime here is constant time, because all it does is index to the
          last item of the list.
  
          :return: return top item of the stack or None, if stack is empty
          """
          if not self._items:
              raise IndexError('Stack is empty')
          return self._items.pop()
function_tokens: def pop ( self ) : if not self . _items : raise IndexError ( 'Stack is empty' ) return self . _items . pop ( )