changeset 87619:acabd3f035fe

Change pathlib documentation to use "raise" instead of "throw".
author Ned Deily <nad@acm.org>
date Wed, 27 Nov 2013 14:42:55 -0800
parents 8df54b9b99ef
children 64c6d52793be
files Doc/library/pathlib.rst
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Doc/library/pathlib.rst	Wed Nov 27 23:39:55 2013 +0100
+++ b/Doc/library/pathlib.rst	Wed Nov 27 14:42:55 2013 -0800
@@ -655,7 +655,7 @@
 
 .. 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 @@
 
 .. 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.