diff options
Diffstat (limited to 'Doc/reference/expressions.rst')
-rw-r--r-- | Doc/reference/expressions.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 4bb0074..64f620b 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -413,6 +413,9 @@ generator functions:: ... while True: ... try: ... value = (yield value) + ... except GeneratorExit: + ... # never catch GeneratorExit + ... raise ... except Exception, e: ... value = e ... finally: |