Commit 267597f0 authored by Berker Peksag's avatar Berker Peksag

Issue #25417: Fix typo in Path.samefile() docstring

Reported by Antony Lee.
parent 4da71055
...@@ -1017,8 +1017,8 @@ class Path(PurePath): ...@@ -1017,8 +1017,8 @@ class Path(PurePath):
return cls(cls()._flavour.gethomedir(None)) return cls(cls()._flavour.gethomedir(None))
def samefile(self, other_path): def samefile(self, other_path):
"""Return whether `other_file` is the same or not as this file. """Return whether other_path is the same or not as this file.
(as returned by os.path.samefile(file, other_file)). (as returned by os.path.samefile()).
""" """
st = self.stat() st = self.stat()
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment