make mypy happy...
This commit is contained in:
parent
5882a8560c
commit
08a96f64f5
|
@ -59,10 +59,13 @@ class VTK:
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
other : damask.VTK
|
other : damask.VTK
|
||||||
VTK to compare self against.
|
VTK to check for equality.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return self.as_ASCII() == other.as_ASCII() if isinstance(other, VTK) else NotImplemented
|
if not isinstance(other, VTK):
|
||||||
|
return NotImplemented
|
||||||
|
return self.as_ASCII() == other.as_ASCII()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def copy(self):
|
def copy(self):
|
||||||
|
|
Loading…
Reference in New Issue