Issue #25417: Remove the extra dot from docstring
diff --git a/Lib/pathlib.py b/Lib/pathlib.py
index 4e21918..1b5d2a9 100644
--- a/Lib/pathlib.py
+++ b/Lib/pathlib.py
@@ -1017,7 +1017,7 @@
         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()