On Wed, Oct 22, 2008 at 16:25, James Vega <[EMAIL PROTECTED]> wrote:

> On Wed, Oct 22, 2008 at 03:54:23PM +0200, Nikolai Weibull wrote:

>> If I say remove(list, 8, -1) I expect it
>> to give me a list of the first 8 elements in list.

> This is odd since, as pointed out earlier, Bram modelled the List usage
> after Python.  remove(list, 8, -1) looks like simple slicing, which
> would be done as list[:8] in Python and works just fine in Python if the
> list doesn't actually have 8+ items.

Great!  Thanks for the tip.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to