summaryrefslogtreecommitdiffstats
path: root/Doc/library/exceptions.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-10-21 10:52:38 (GMT)
committerGeorg Brandl <georg@python.org>2007-10-21 10:52:38 (GMT)
commitcf3fb259329eedfa9d2c802b2ea5ced287c21e78 (patch)
treebd09350c4ac4d66064526573c19ebbcd27f77279 /Doc/library/exceptions.rst
parentbb75e4e5d243a32cf31b91543b06b829c63e2c70 (diff)
downloadcpython-cf3fb259329eedfa9d2c802b2ea5ced287c21e78.zip
cpython-cf3fb259329eedfa9d2c802b2ea5ced287c21e78.tar.gz
cpython-cf3fb259329eedfa9d2c802b2ea5ced287c21e78.tar.bz2
Add :term: for generators.
Diffstat (limited to 'Doc/library/exceptions.rst')
-rw-r--r--Doc/library/exceptions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 623d73b..1de0693 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -152,9 +152,9 @@ The following exceptions are the exceptions that are actually raised.
.. exception:: GeneratorExit
- Raise when a generator's :meth:`close` method is called. It directly inherits
- from :exc:`Exception` instead of :exc:`StandardError` since it is technically
- not an error.
+ Raise when a :term:`generator`\'s :meth:`close` method is called. It
+ directly inherits from :exc:`Exception` instead of :exc:`StandardError` since
+ it is technically not an error.
.. versionadded:: 2.5