Closes #16950: update wording about raise syntax.

This commit is contained in:
Georg Brandl 2013-01-13 11:28:10 +01:00
parent c9c784550d
commit 6bf3a71f57
1 changed files with 1 additions and 1 deletions

View File

@ -783,7 +783,7 @@ Programming Recommendations
The paren-using form is preferred because when the exception
arguments are long or include string formatting, you don't need to
use line continuation characters thanks to the containing
parentheses. The older form will be removed in Python 3.
parentheses. The older form is not legal syntax in Python 3.
- When catching exceptions, mention specific exceptions whenever
possible instead of using a bare ``except:`` clause.