summaryrefslogtreecommitdiffstats
path: root/Doc/library/configparser.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-11-30 17:20:31 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-11-30 17:20:31 (GMT)
commitff2a4ba78ce724032808ebf3e4c006b831980e7d (patch)
tree982fb7202acdcaef29bb197130484ab56a5ed9d1 /Doc/library/configparser.rst
parent827fdaae30e4ee10d86a7679d7fa1c8863235ba1 (diff)
downloadcpython-ff2a4ba78ce724032808ebf3e4c006b831980e7d.zip
cpython-ff2a4ba78ce724032808ebf3e4c006b831980e7d.tar.gz
cpython-ff2a4ba78ce724032808ebf3e4c006b831980e7d.tar.bz2
Let’s keep “throw” for the generator method and use “raise” elsewhere.
Diffstat (limited to 'Doc/library/configparser.rst')
-rw-r--r--Doc/library/configparser.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/configparser.rst b/Doc/library/configparser.rst
index 070328d..df7a1de1 100644
--- a/Doc/library/configparser.rst
+++ b/Doc/library/configparser.rst
@@ -320,7 +320,7 @@ However, there are a few differences that should be taken into account:
the default value to be visible again. Trying to delete a default value
causes a ``KeyError``.
-* Trying to delete the ``DEFAULTSECT`` throws ``ValueError``.
+* Trying to delete the ``DEFAULTSECT`` raises ``ValueError``.
* There are two parser-level methods in the legacy API that hide the dictionary
interface and are incompatible: