summaryrefslogtreecommitdiffstats
path: root/Doc/library/exceptions.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/exceptions.rst')
-rw-r--r--Doc/library/exceptions.rst7
1 files changed, 0 insertions, 7 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst
index 3c404e4..d29ce12 100644
--- a/Doc/library/exceptions.rst
+++ b/Doc/library/exceptions.rst
@@ -135,13 +135,6 @@ The following exceptions are the exceptions that are actually raised.
.. exception:: GeneratorExit
- Raise when a :term:`generator`\'s :meth:`close` method is called. It
- directly inherits from :exc:`BaseException` instead of :exc:`Exception` since
- it is technically not an error.
-
- .. versionchanged:: 3.0
- Changed to inherit from :exc:`BaseException`.
-
Raise when a :term:`generator`\'s :meth:`close` method is called.