@@ -1171,7 +1171,7 @@ Querying the size of a terminal
11711171 output) specifies which file descriptor should be queried.
11721172
11731173 If the file descriptor is not connected to a terminal, an :exc: `OSError `
1174- is thrown .
1174+ is raised .
11751175
11761176 :func: `shutil.get_terminal_size ` is the high-level function which
11771177 should normally be used, ``os.get_terminal_size `` is the low-level
@@ -1945,7 +1945,7 @@ features:
19451945 :mod: `os ` module permit use of their *dir_fd * parameter. Different platforms
19461946 provide different functionality, and an option that might work on one might
19471947 be unsupported on another. For consistency's sakes, functions that support
1948- *dir_fd * always allow specifying the parameter, but will throw an exception
1948+ *dir_fd * always allow specifying the parameter, but will raise an exception
19491949 if the functionality is not actually available.
19501950
19511951 To check whether a particular function permits use of its *dir_fd *
@@ -1986,7 +1986,7 @@ features:
19861986 descriptor. Different platforms provide different functionality, and an
19871987 option that might work on one might be unsupported on another. For
19881988 consistency's sakes, functions that support *fd * always allow specifying
1989- the parameter, but will throw an exception if the functionality is not
1989+ the parameter, but will raise an exception if the functionality is not
19901990 actually available.
19911991
19921992 To check whether a particular function permits specifying an open file
@@ -2007,7 +2007,7 @@ features:
20072007 platforms provide different functionality, and an option that might work on
20082008 one might be unsupported on another. For consistency's sakes, functions that
20092009 support *follow_symlinks * always allow specifying the parameter, but will
2010- throw an exception if the functionality is not actually available.
2010+ raise an exception if the functionality is not actually available.
20112011
20122012 To check whether a particular function permits use of its *follow_symlinks *
20132013 parameter, use the ``in `` operator on ``supports_follow_symlinks ``. As an
0 commit comments