diff options
author | Ned Deily <nad@acm.org> | 2013-11-27 22:42:55 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2013-11-27 22:42:55 (GMT) |
commit | c034156f261ed8982febc56ac2cbe1cda6f7e279 (patch) | |
tree | f60da7f3b0342afce6f54e0e9c074483c8dfeb9b /Doc/library/pathlib.rst | |
parent | 5362abf4ec1f7fe6491b605fb1b007b62c0f53c0 (diff) | |
download | cpython-c034156f261ed8982febc56ac2cbe1cda6f7e279.zip cpython-c034156f261ed8982febc56ac2cbe1cda6f7e279.tar.gz cpython-c034156f261ed8982febc56ac2cbe1cda6f7e279.tar.bz2 |
Change pathlib documentation to use "raise" instead of "throw".
Diffstat (limited to 'Doc/library/pathlib.rst')
-rw-r--r-- | Doc/library/pathlib.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 90a3289..d4e0862 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. |