Workaround for python3.6

This commit is contained in:
Carl Beekhuizen
2019-06-19 22:37:51 +02:00
parent 3418c3506f
commit 241fe34da7

View File

@@ -349,6 +349,8 @@ class BytesNMeta(type):
return _is_bytes_n_instance_of(self, other.__class__)
def __eq__(self, other):
if other == ():
return False
return _is_equal_bytes_n_type(self, other)
def __ne__(self, other):