summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/pathlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pathlib.py b/Lib/pathlib.py
index 01e66a0970..4e219182e7 100644
--- a/Lib/pathlib.py
+++ b/Lib/pathlib.py
@@ -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: