1
0
Fork 0

Use python3 default implementation

This commit is contained in:
Scott Giese 2020-10-03 10:28:46 -05:00
parent 8009f46a51
commit 3f2ee2de04

View file

@ -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):