mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 19:54:34 +00:00
Workaround for python3.6
This commit is contained in:
parent
3418c3506f
commit
241fe34da7
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user