Closes #16949: update wording about string exceptions.
This commit is contained in:
parent
14dccffd6c
commit
c9c784550d
|
@ -763,8 +763,8 @@ Programming Recommendations
|
||||||
|
|
||||||
- Use class-based exceptions.
|
- Use class-based exceptions.
|
||||||
|
|
||||||
String exceptions in new code are forbidden, because this language
|
String exceptions in new code are forbidden, and this language
|
||||||
feature is being removed in Python 2.6.
|
feature has been removed in Python 2.6.
|
||||||
|
|
||||||
Modules or packages should define their own domain-specific base
|
Modules or packages should define their own domain-specific base
|
||||||
exception class, which should be subclassed from the built-in
|
exception class, which should be subclassed from the built-in
|
||||||
|
|
Loading…
Reference in New Issue