[Python-checkins] peps: Closes #16949: update wording about string exceptions.
georg.brandl
python-checkins at python.org
Sun Jan 13 11:26:31 CET 2013
http://hg.python.org/peps/rev/bf68a42a43bf
changeset: 4672:bf68a42a43bf
user: Georg Brandl <georg at python.org>
date: Sun Jan 13 11:27:31 2013 +0100
summary:
Closes #16949: update wording about string exceptions.
files:
pep-0008.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pep-0008.txt b/pep-0008.txt
--- a/pep-0008.txt
+++ b/pep-0008.txt
@@ -763,8 +763,8 @@
- Use class-based exceptions.
- String exceptions in new code are forbidden, because this language
- feature is being removed in Python 2.6.
+ String exceptions in new code are forbidden, and this language
+ feature has been removed in Python 2.6.
Modules or packages should define their own domain-specific base
exception class, which should be subclassed from the built-in
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list