[Doc-SIG] Re: [Python-Dev] list.shift()
Fri, 17 Mar 2000 10:12:22 -0600 (CST)
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.