]> granicus.if.org Git - python/commit
Issue #12067: Rewrite Comparisons section in the language reference
authorMartin Panter <vadmium+py@gmail.com>
Wed, 23 Sep 2015 05:28:13 +0000 (05:28 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Wed, 23 Sep 2015 05:28:13 +0000 (05:28 +0000)
commitaa0da864b874afb8c1cbad5614a6242349f0fe21
tree27316fe4d9b2fd96bf04cd28cff4f8ed3ef8525a
parenta0ae789fd4ba403be865a71aefa5dc7c4c50c502
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.
Doc/reference/expressions.rst
Misc/NEWS