diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-03 20:01:02 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-03 20:01:02 (GMT) |
commit | 44eeaec173d66769835e4f8a2a0ad7e605fe6aef (patch) | |
tree | 64c0a3b6fdddbbd79d15a9b7ce1021f470701566 /Doc/reference | |
parent | cbcfe4f3e47d420742f726415705b116672d6779 (diff) | |
download | cpython-44eeaec173d66769835e4f8a2a0ad7e605fe6aef.zip cpython-44eeaec173d66769835e4f8a2a0ad7e605fe6aef.tar.gz cpython-44eeaec173d66769835e4f8a2a0ad7e605fe6aef.tar.bz2 |
Patch #1537 from Chad Austin
Change GeneratorExit's base class from Exception to BaseException
(This time I'm applying the patch to the correct sandbox.)
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/expressions.rst | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 706d0f1..0f45f94 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -430,9 +430,6 @@ generator functions:: ... while True: ... try: ... value = (yield value) - ... except GeneratorExit: - ... # never catch GeneratorExit - ... raise ... except Exception, e: ... value = e ... finally: |