commit | aa0da864b874afb8c1cbad5614a6242349f0fe21 | [log] [tgz] |
---|---|---|
author | Martin Panter <vadmium+py@gmail.com> | Wed Sep 23 05:28:13 2015 +0000 |
committer | Martin Panter <vadmium+py@gmail.com> | Wed Sep 23 05:28:13 2015 +0000 |
tree | 27316fe4d9b2fd96bf04cd28cff4f8ed3ef8525a | |
parent | a0ae789fd4ba403be865a71aefa5dc7c4c50c502 [diff] |
Issue #12067: Rewrite Comparisons section in the language reference Some of the details of comparing mixed types were incorrect or ambiguous. NotImplemented is only relevant at a lower level than the Expressions chapter. Added details of comparing range() objects, and default behaviour and consistency suggestions for user-defined classes. Patch from Andy Maier.