This commit is contained in:
Nick Coghlan 2008-08-18 13:32:19 +00:00
parent 6e8fef07e5
commit 8e439a16b2
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ is considered sufficient for this determination.
Set a TypeError indicating that ``type(o)`` is not hashable and return ``-1``. Set a TypeError indicating that ``type(o)`` is not hashable and return ``-1``.
This function receives special treatment when stored in a ``tp_hash`` slot, This function receives special treatment when stored in a ``tp_hash`` slot,
allowing a type to explicit indicate to the interpreter that it is not allowing a type to explicitly indicate to the interpreter that it is not
hashable. hashable.
.. versionadded:: 2.6 .. versionadded:: 2.6