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:
parent
581868484b
commit
6874e88ada
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue