We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7701789 commit b9fa087Copy full SHA for b9fa087
1 file changed
javaobj/v2/beans.py
@@ -631,7 +631,7 @@ def __repr__(self):
631
632
def __eq__(self, other):
633
if isinstance(other, (str, UNICODE_TYPE)):
634
- other_data = tuple(byte_to_int(x) for x in other)
+ other_data = tuple(ord(x) for x in other)
635
elif isinstance(other, bytes):
636
other_data = tuple(byte_to_int(x) for x in other)
637
else:
0 commit comments