On Fri, 17 Mar 2000, Guido van Rossum wrote: > You can do this using list.pop(0). I don't think the name "shift" is very > intuitive (smells of sh and Perl :-). Do we need a new function? Oh -- sorry, that's my ignorance showing. I didn't know pop() took an argument (of course it would -- duh...). No need to add anything more, then, i think. Sorry! Fred et al. on doc-sig: it would be really good for the tutorial to show a queue example and a stack example in the section where list methods are introduced. -- ?!ng
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4