projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da7105
)
Issue #25417: Fix typo in Path.samefile() docstring
author
Berker Peksag
<berker.peksag@gmail.com>
Wed, 21 Oct 2015 17:10:24 +0000
(20:10 +0300)
committer
Berker Peksag
<berker.peksag@gmail.com>
Wed, 21 Oct 2015 17:10:24 +0000
(20:10 +0300)
Reported by Antony Lee.
Lib/pathlib.py
patch
|
blob
|
history
diff --git
a/Lib/pathlib.py
b/Lib/pathlib.py
index 01e66a0970b07400618359daa106f3a64cf5569f..4e219182e79df4cb603197b57d5cf26f76fcd7ab 100644
(file)
--- 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: