diff options
author | Raymond Hettinger <python@rcn.com> | 2005-03-27 10:55:27 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-03-27 10:55:27 (GMT) |
commit | 680db018be01f1c9e442b1ae887dad1d750f680e (patch) | |
tree | e6035aff32091cd7d7a3ee308610aac7d6dfd41d /Python/pythonrun.c | |
parent | 3589d815b4ecab7bc033e971d6a345d7ad801e1a (diff) | |
download | cpython-680db018be01f1c9e442b1ae887dad1d750f680e.zip cpython-680db018be01f1c9e442b1ae887dad1d750f680e.tar.gz cpython-680db018be01f1c9e442b1ae887dad1d750f680e.tar.bz2 |
- Fixed decimal operator and comparison methods to return NotImplemented
instead of raising a TypeError when interacting with other types.
Allows other classes to successfully implement __radd__ style methods.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions