]> granicus.if.org Git - python/commit
All calls to getarrayitem() (which is static) are done either in loops
authorWalter Dörwald <walter@livinglogic.de>
Fri, 23 May 2003 10:01:07 +0000 (10:01 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Fri, 23 May 2003 10:01:07 +0000 (10:01 +0000)
commit8bb1ae9c344249e9d22c69cd87077c5d27c3e18f
tree509b0bc23fe7cf160004f2cea1687d9936d0a47b
parent4ec4fa208e50d0f384ce2bec65c8612cb5029996
All calls to getarrayitem() (which is static) are done either in loops
over the size of the array, or the callers check the index bounds themselves,
so the index check never failed => Replace it with an assert().
Modules/arraymodule.c