diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-10-21 17:10:24 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-10-21 17:10:24 (GMT) |
commit | 267597f087084283b5ad052d38cee9055d1acada (patch) | |
tree | 802abc46078b8dc3afbbebd7dd848c1d1043f09d /Lib/pathlib.py | |
parent | 4da71055e1aca0b9a047b5a3405cedf3c4c661f6 (diff) | |
download | cpython-267597f087084283b5ad052d38cee9055d1acada.zip cpython-267597f087084283b5ad052d38cee9055d1acada.tar.gz cpython-267597f087084283b5ad052d38cee9055d1acada.tar.bz2 |
Issue #25417: Fix typo in Path.samefile() docstring
Reported by Antony Lee.
Diffstat (limited to 'Lib/pathlib.py')
-rw-r--r-- | Lib/pathlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pathlib.py b/Lib/pathlib.py index 01e66a0..4e21918 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: |