summaryrefslogtreecommitdiffstats
path: root/Lib/pathlib.py
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-05-02 06:01:06 (GMT)
committerGitHub <noreply@github.com>2024-05-02 06:01:06 (GMT)
commit9ec7ddd8267b1246a760092127987d4dfcf02d5c (patch)
tree46212422c4adb54c03016054c5a3d123b25a79a9 /Lib/pathlib.py
parentebef3c5ba48aa4d5bdf8c02aba6c6356aef9d56b (diff)
downloadcpython-9ec7ddd8267b1246a760092127987d4dfcf02d5c.zip
cpython-9ec7ddd8267b1246a760092127987d4dfcf02d5c.tar.gz
cpython-9ec7ddd8267b1246a760092127987d4dfcf02d5c.tar.bz2
[3.12] docs: typo: tiny grammar change: "pointed by" -> "pointed to by" (GH-118411) (#118504)
(cherry picked from commit a6b610a94bee0e4436aee2825c14f05ec2f22f75) Co-authored-by: Andrew Zipperer <47086307+zipperer@users.noreply.github.com> Co-authored-by: Andrew-Zipperer <atzipperer@gmail.com>
Diffstat (limited to 'Lib/pathlib.py')
-rw-r--r--Lib/pathlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pathlib.py b/Lib/pathlib.py
index bd5a096..65ff0ee 100644
--- a/Lib/pathlib.py
+++ b/Lib/pathlib.py
@@ -1005,7 +1005,7 @@ class Path(PurePath):
def open(self, mode='r', buffering=-1, encoding=None,
errors=None, newline=None):
"""
- Open the file pointed by this path and return a file object, as
+ Open the file pointed to by this path and return a file object, as
the built-in open() function does.
"""
if "b" not in mode: