mirror of
https://github.com/python/cpython.git
synced 2025-10-01 21:02:15 +00:00
Issue #25417: Fix typo in Path.samefile() docstring
Reported by Antony Lee.
This commit is contained in:
commit
085c25434a
1 changed files with 2 additions and 2 deletions
|
@ -1017,8 +1017,8 @@ class Path(PurePath):
|
|||
return cls(cls()._flavour.gethomedir(None))
|
||||
|
||||
def samefile(self, other_path):
|
||||
"""Return whether `other_file` is the same or not as this file.
|
||||
(as returned by os.path.samefile(file, other_file)).
|
||||
"""Return whether other_path is the same or not as this file.
|
||||
(as returned by os.path.samefile()).
|
||||
"""
|
||||
st = self.stat()
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue