[Python-checkins] peps: Closes #16950: update wording about raise syntax.

georg.brandl python-checkins at python.org
Sun Jan 13 11:27:10 CET 2013


http://hg.python.org/peps/rev/89db18c77152
changeset: 4673:89db18c77152
user: Georg Brandl <georg at python.org>
date: Sun Jan 13 11:28:10 2013 +0100
summary:
 Closes #16950: update wording about raise syntax.
files:
 pep-0008.txt | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pep-0008.txt b/pep-0008.txt
--- a/pep-0008.txt
+++ b/pep-0008.txt
@@ -783,7 +783,7 @@
 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.
-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /