From 05492b898914c869e405cddde056fe880697967c Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Thu, 22 Oct 2015 03:34:16 +0300 Subject: [PATCH] Issue #25417: Remove the extra dot from docstring --- Lib/pathlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/pathlib.py b/Lib/pathlib.py index 4e219182e79..1b5d2a9025a 100644 --- a/Lib/pathlib.py +++ b/Lib/pathlib.py @@ -1017,7 +1017,7 @@ class Path(PurePath): return cls(cls()._flavour.gethomedir(None)) def samefile(self, other_path): - """Return whether other_path 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()). """ st = self.stat()