def pop(self): return self.items.pop()

Best regards.

Here is the pdf version of "Data Structures And Algorithms In Python" by John Canning

def push(self, item): self.items.append(item)

Author