cpython: 9702c5f08df1 (original) (raw)
Mercurial > cpython
changeset 106331:9702c5f08df1 3.6
Issues #12067: Merge hash recommendation from 3.5 [#12067]
Martin Panter vadmium+py@gmail.com | |
---|---|
date | Sun, 29 Jan 2017 10:07:26 +0000 |
parents | b33c3f26eefa(current diff)8c9a86aa222e(diff) |
children | cdcb33f37bf3 9dbb7bbc1449 |
files | Doc/reference/expressions.rst |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-)[+] [-] Doc/reference/expressions.rst 4 |
line wrap: on
line diff
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -1415,6 +1415,10 @@ some consistency rules, if possible:
sequences, but not to sets or mappings). See also the
:func:~functools.total_ordering
decorator.
+* The :func:hash
result should be consistent with equality.