commit | 0ed8019c20b73f67397e53c710ddd076f0f384fd | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Sat Jan 14 14:43:24 2012 +1000 |
committer | Nick Coghlan <ncoghlan@gmail.com> | Sat Jan 14 14:43:24 2012 +1000 |
tree | d65cc4a29b3220f41a3063f525c0e08e365836e2 | |
parent | 2dfe6b00edde81d752d37d280cd47fd5aac9a433 [diff] |
Add versionchanged notes for PEP 380
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index a9a16d3..3f1a30d 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst
@@ -261,6 +261,9 @@ raised, and the value returned by the function is used as the :attr:`value` parameter to the constructor of the exception. + .. versionchanged:: 3.3 + Added ``value`` attribute and the ability for generator functions to + use it to return a value. .. exception:: SyntaxError