diff options
author | Georg Brandl <georg@python.org> | 2009-08-03 17:50:20 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-08-03 17:50:20 (GMT) |
commit | fe800a3437b55333dd5d4c21d071c699126830a8 (patch) | |
tree | ed78198d32f038733119d196aa9cb5a3e277fe6f /Doc/reference | |
parent | 0d0367f76fc9c99b92bb75c4125fd35ee493828a (diff) | |
download | cpython-fe800a3437b55333dd5d4c21d071c699126830a8.zip cpython-fe800a3437b55333dd5d4c21d071c699126830a8.tar.gz cpython-fe800a3437b55333dd5d4c21d071c699126830a8.tar.bz2 |
#6618: fix invalid 3k syntax.
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/expressions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 1bddd93..cdb802a 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -416,7 +416,7 @@ generator functions:: ... while True: ... try: ... value = (yield value) - ... except Exception, e: + ... except Exception as e: ... value = e ... finally: ... print("Don't forget to clean up when 'close()' is called.") |