summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-03 19:47:54 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-03 19:47:54 (GMT)
commite69c320d48a5708c900cc6c78bf006fef68c62bd (patch)
tree04e85c6cfaf9f5b6eb1a79a263e5cf6e51cc1ae9 /Doc/reference
parent6554cb94ba328939366ac6f12104d70d52d57cdd (diff)
downloadcpython-e69c320d48a5708c900cc6c78bf006fef68c62bd.zip
cpython-e69c320d48a5708c900cc6c78bf006fef68c62bd.tar.gz
cpython-e69c320d48a5708c900cc6c78bf006fef68c62bd.tar.bz2
Patch #1537 from Chad Austin
Change GeneratorExit's base class from Exception to BaseException
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/expressions.rst3
1 files changed, 0 insertions, 3 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 64f620b..4bb0074 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -413,9 +413,6 @@ generator functions::
... while True:
... try:
... value = (yield value)
- ... except GeneratorExit:
- ... # never catch GeneratorExit
- ... raise
... except Exception, e:
... value = e
... finally: