]> granicus.if.org Git - python/commit
- list.insert(i, x) now interprets negative i as it would be
authorGuido van Rossum <guido@python.org>
Mon, 14 Apr 2003 20:58:14 +0000 (20:58 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 14 Apr 2003 20:58:14 +0000 (20:58 +0000)
commit3a3cca5b820084d759b06aed84b1070a56786af5
tree81809e367df89b0dbb4255be3316b7083ca31e45
parentb43f15e1ce34deac45eb173db5f12d3d979cf08e
- list.insert(i, x) now interprets negative i as it would be
  interpreted by slicing, so negative values count from the end of the
  list.  This was the only place where such an interpretation was not
  placed on a list index.
Doc/lib/libstdtypes.tex
Lib/test/test_types.py
Misc/NEWS
Objects/listobject.c