]> granicus.if.org Git - python/commit
Issue #22077: Improve index error messages for bytearrays, bytes, lists, and
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 2 Aug 2014 05:30:37 +0000 (01:30 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Sat, 2 Aug 2014 05:30:37 +0000 (01:30 -0400)
commitffff1440d118cae189a6c2baf595dda52cdc7c3a
treee1664353a0276044933c16879fa59e7521a6044e
parent7f9cc9359bdbcc877b2a6f976c8e8bdbc714ce90
Issue #22077: Improve index error messages for bytearrays, bytes, lists, and
tuples by adding 'or slices'. Added ', not <typename' for bytearrays.
Original patch by Claudiu Popa.
Lib/test/list_tests.py
Lib/test/test_bytes.py
Lib/test/test_tuple.py
Misc/NEWS
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/listobject.c
Objects/tupleobject.c