Add :term: for generators.
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 @@
.. 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