def pop(self, n):
poped = self.__stack[len(self.__stack) - n:]<EOL>del self.__stack[len(self.__stack) - n:]<EOL>return poped<EOL>
Pop the **n** topmost items from the stack and return them as a ``list``.