summaryrefslogtreecommitdiffstats
path: root/Doc/library/linecache.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-08-03 12:06:29 (GMT)
committerGeorg Brandl <georg@python.org>2010-08-03 12:06:29 (GMT)
commit7cb13196882e49d9d02f1b9eb7f9980cda77fd0c (patch)
tree779e11d7fdf0ad43a4dca32e978d6fdee6c4e4ce /Doc/library/linecache.rst
parente8e02e3b5bcb28ff76975c3f9a29af874e005f81 (diff)
downloadcpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.zip
cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.tar.gz
cpython-7cb13196882e49d9d02f1b9eb7f9980cda77fd0c.tar.bz2
Terminology fix: exceptions are raised, except in generator.throw().
Diffstat (limited to 'Doc/library/linecache.rst')
-rw-r--r--Doc/library/linecache.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/linecache.rst b/Doc/library/linecache.rst
index 146cb27..688e297 100644
--- a/Doc/library/linecache.rst
+++ b/Doc/library/linecache.rst
@@ -16,7 +16,7 @@ The :mod:`linecache` module defines the following functions:
.. function:: getline(filename, lineno, module_globals=None)
- Get line *lineno* from file named *filename*. This function will never throw an
+ Get line *lineno* from file named *filename*. This function will never raise an
exception --- it will return ``''`` on errors (the terminating newline character
will be included for lines that are found).