Make hash raise an error
This commit is contained in:
parent
8d49b393c8
commit
bd58442912
@ -52,7 +52,8 @@ class Relation:
|
|||||||
An empty relation needs a header, and can be filled using the insert()
|
An empty relation needs a header, and can be filled using the insert()
|
||||||
method.
|
method.
|
||||||
'''
|
'''
|
||||||
__hash__ = None # type: None
|
def __hash__(self):
|
||||||
|
raise NotImplementedError()
|
||||||
|
|
||||||
def __init__(self, filename: Optional[Union[str, Path]] = None) -> None:
|
def __init__(self, filename: Optional[Union[str, Path]] = None) -> None:
|
||||||
self._readonly = False
|
self._readonly = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user