1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Remove unnecessary method Path.__hash__

Only calls the parent implementation, so rely on inheritance.
This commit is contained in:
Jon Dufresne 2021-01-05 16:00:41 -08:00
parent 581868484b
commit 6874e88ada

View file

@ -73,9 +73,6 @@ class Path(str):
def __repr__(self):
return "Path({inner})".format(inner=str.__repr__(self))
def __hash__(self):
return super().__hash__()
@property
def name(self):
"""