Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[py3] Made Element instances hashable

  • Loading branch information...
commit e0988ecd1ea90fc7c75ecd9f0959cef5fd9021ff 1 parent b8e49d7
@claudep claudep authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/test/html.py
View
2  django/test/html.py
@@ -83,6 +83,8 @@ def __eq__(self, element):
return False
return True
+ __hash__ = object.__hash__
+
def __ne__(self, element):
return not self.__eq__(element)
Please sign in to comment.
Something went wrong with that request. Please try again.