2001 Enchancement Wishlist

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Fri Dec 29 15:02:40 EST 2000


Fri, 29 Dec 2000 14:49:31 -0500, Raymond Hettinger <othello at javanet.com> pisze:

> 1.  List.append(elem) and List.pop() are great.  Let's add two more
>      methods, List.prepend(elem) and List.leftpop().

I would call the latter List.shift(). This name is used with this
meaning at least in sh, Ruby and Perl.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list