diff options
author | Guido van Rossum <guido@python.org> | 2001-10-22 04:12:44 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-22 04:12:44 (GMT) |
commit | 5c66a26dee41853a9ce43b75965cc16b8e34aef0 (patch) | |
tree | d303f21f83853154614174dc1b6ed1891aa68315 /Misc | |
parent | 279e74457351f4b6686d2b592f6662393bc8d757 (diff) | |
download | cpython-5c66a26dee41853a9ce43b75965cc16b8e34aef0.zip cpython-5c66a26dee41853a9ce43b75965cc16b8e34aef0.tar.gz cpython-5c66a26dee41853a9ce43b75965cc16b8e34aef0.tar.bz2 |
Make the error message for unsupported operand types cleaner, in
response to a message by Laura Creighton on c.l.py. E.g.
>>> 0+''
TypeError: unsupported operand types for +: 'int' and 'str'
(previously this did not mention the operand types)
>>> ''+0
TypeError: cannot concatenate 'str' and 'int' objects
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions