def pop(self, index=None):
if index is None:<EOL><INDENT>index = len(self.real_list) - <NUM_LIT:1><EOL><DEDENT>item = self[index]<EOL>del self[index]<EOL>return item<EOL>
See :meth:`list.pop()` method

Remove the item at the given position in the list, and return it. If no index is specified,
a.pop() removes and returns the last item in the list.

:param int index: element index that will be removed

:return: item removed