list.pop

s.pop([i]) same as x = s[i]; del s[i]; return x

The list.pop method is only supported by the list and array types. The optional argument i defaults to -1, so that by default the last item is removed and returned.

 

A Django site. this page was rendered by a django application in 0.01s 2010-12-16 15:54:20.961566. hosted by webfaction.