commit | ecdae19fbe9506fffe6616d86f3bbf4a1858f3e2 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Mon Jan 04 00:43:01 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Mon Jan 04 00:43:01 2010 +0000 |
tree | c4ce3ae37922e1b9cfff5f835e2c2b55ad306ce1 | |
parent | 37559a085b423e4f2c1d512fb8296cae27c9317b [diff] [blame] |
do correct lookup of the __complex__ method
diff --git a/Misc/NEWS b/Misc/NEWS index cb39331..06fb9ee 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,9 @@ Core and Builtins ----------------- +- The __complex__ method is now looked up on the class of instances to make it + consistent with other special methods. + - Issue #7462: Implement the stringlib fast search algorithm for the `rfind`, `rindex`, `rsplit` and `rpartition` methods. Patch by Florent Xicluna.