diff options
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 623d73b41b..1de0693aa7 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 |
