Skip to content

Commit 2177e2c

Browse files
committed
Fixed call to __hash__
Signed-off-by: Thomas Calmant <thomas.calmant@gmail.com>
1 parent caa4b7c commit 2177e2c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎javaobj/v1/transformers.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(self, unmarshaller):
6161
JavaObject.__init__(self)
6262

6363
def __hash__(self):
64-
return list.__hash__(self)
64+
return object.__hash__(self)
6565

6666
def __extra_loading__(self, unmarshaller, ident=0):
6767
# type: (JavaObjectUnmarshaller, int) -> None
@@ -115,7 +115,7 @@ def __init__(self, unmarshaller):
115115
JavaObject.__init__(self)
116116

117117
def __hash__(self):
118-
return dict.__hash__(self)
118+
return object.__hash__(self)
119119

120120
def __extra_loading__(self, unmarshaller, ident=0):
121121
# type: (JavaObjectUnmarshaller, int) -> None
@@ -171,7 +171,7 @@ def __init__(self, unmarshaller):
171171
JavaObject.__init__(self)
172172

173173
def __hash__(self):
174-
return set.__hash__(self)
174+
return object.__hash__(self)
175175

176176
def __extra_loading__(self, unmarshaller, ident=0):
177177
# type: (JavaObjectUnmarshaller, int) -> None

0 commit comments

Comments
 (0)