Closes #16949: update wording about string exceptions.

This commit is contained in:
Georg Brandl 2013-01-13 11:27:31 +01:00
parent 14dccffd6c
commit c9c784550d
1 changed files with 2 additions and 2 deletions

View File

@ -763,8 +763,8 @@ Programming Recommendations
- 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