Use python3 default implementation
This commit is contained in:
parent
8009f46a51
commit
3f2ee2de04
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,8 @@ class VirtualPath:
|
|||
# unintuitive behavior, since they would all be considered equal.
|
||||
return type(self) == type(other) and self._path == other._path
|
||||
|
||||
def __ne__(self, other):
|
||||
return type(self) != type(other) or self._path != other._path
|
||||
# intentionally not implemented. Python3 provides a default implementation.
|
||||
# def __ne__(self, other):
|
||||
|
||||
def __gt__(self, other):
|
||||
if isinstance(other, VirtualPath):
|
||||
|
|
Loading…
Add table
Reference in a new issue