summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-11-24 18:24:47 (GMT)
committerGuido van Rossum <guido@python.org>2001-11-24 18:24:47 (GMT)
commit64585f6afb33ea907a22a365b4fdbec155e3da55 (patch)
tree9e0a109ee0bc1b1a7177a006b49717059d97ddf2 /Lib
parentbf7c52c233485b0d95c3a41cb5ae9b580c4469c8 (diff)
downloadcpython-64585f6afb33ea907a22a365b4fdbec155e3da55.zip
cpython-64585f6afb33ea907a22a365b4fdbec155e3da55.tar.gz
cpython-64585f6afb33ea907a22a365b4fdbec155e3da55.tar.bz2
PyObject_GetItem(), PyObject_SetItem(), PyObject_DelItem(): Fix a few
confusing error messages. If a new-style class has no sequence or mapping behavior, attempting to use the indexing notation with a non-integer key would complain that the sequence index must be an integer, rather than complaining that the operation is not supported.
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions