summaryrefslogtreecommitdiffstats
path: root/install-sh
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-13 16:44:44 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-13 16:44:44 (GMT)
commit21308243ca028e06f03336f9d84edbeebcfb1da2 (patch)
tree875845f5b2b9c5c30500f0047d5a13c59034886c /install-sh
parent54047c84d11e8c3731aef553316f12b7f15397cf (diff)
downloadcpython-21308243ca028e06f03336f9d84edbeebcfb1da2.zip
cpython-21308243ca028e06f03336f9d84edbeebcfb1da2.tar.gz
cpython-21308243ca028e06f03336f9d84edbeebcfb1da2.tar.bz2
Better error messages when a sequence is indexed with a non-integer.
Previously, this said "unsubscriptable object"; in 1.5.1, the reverse problem existed, where None[''] would complain about a non-integer index. This fix does the right thing in all cases (for get, set and del item).
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions