New submission from Antony Lee: The output of pydoc for Path.samefile currently reads
pathlib.Path.samefile = 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)). It should arguably be something like pathlib.Path.samefile = samefile(self, other_path) Return whether `other_path` is the same or not as this file. (as returned by os.path.samefile(file, other_file)). or pathlib.Path.samefile = samefile(self, other_path) Return whether `other_path` is the same or not as this file. (as returned by os.path.samefile(str(self), str(other_path))). ---------- components: Library (Lib) messages: 253066 nosy: Antony.Lee priority: normal severity: normal status: open title: Minor typo in Path.samefile docstring versions: Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25417> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com