diff options
author | Georg Brandl <georg@python.org> | 2007-10-21 10:52:38 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-10-21 10:52:38 (GMT) |
commit | cf3fb259329eedfa9d2c802b2ea5ced287c21e78 (patch) | |
tree | bd09350c4ac4d66064526573c19ebbcd27f77279 /Doc/library/exceptions.rst | |
parent | bb75e4e5d243a32cf31b91543b06b829c63e2c70 (diff) | |
download | cpython-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.rst | 6 |
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 |