summaryrefslogtreecommitdiff
path: root/Doc/library/pathlib.rst
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2013-11-27 14:42:55 -0800
committerNed Deily <nad@acm.org>2013-11-27 14:42:55 -0800
commitc034156f261ed8982febc56ac2cbe1cda6f7e279 (patch)
treef60da7f3b0342afce6f54e0e9c074483c8dfeb9b /Doc/library/pathlib.rst
parent5362abf4ec1f7fe6491b605fb1b007b62c0f53c0 (diff)
downloadcpython-git-c034156f261ed8982febc56ac2cbe1cda6f7e279.tar.gz
Change pathlib documentation to use "raise" instead of "throw".
Diffstat (limited to 'Doc/library/pathlib.rst')
-rw-r--r--Doc/library/pathlib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst
index 90a32899ee..d4e08629d8 100644
--- a/Doc/library/pathlib.rst
+++ b/Doc/library/pathlib.rst
@@ -655,7 +655,7 @@ call fails (for example because the path doesn't exist):
.. method:: Path.group()
- Return the name of the group owning the file. :exc:`KeyError` is thrown
+ Return the name of the group owning the file. :exc:`KeyError` is raised
if the file's gid isn't found in the system database.
@@ -774,7 +774,7 @@ call fails (for example because the path doesn't exist):
.. method:: Path.owner()
- Return the name of the user owning the file. :exc:`KeyError` is thrown
+ Return the name of the user owning the file. :exc:`KeyError` is raised
if the file's uid isn't found in the system database.