[docs] [issue9608] Re-phrase best way of using exceptions in doanddont.rst

R. David Murray report at bugs.python.org
Sat Sep 11 04:43:58 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

Here is another edit pass, incorporating Éric's suggestions and adding some additional tweaks.  In particular, I eliminated the anti-pattern of catching (IOError, OSError) in one of the earlier examples in favor of the correct EnvironmentError, and also improved the error message generated in that case :)

----------
Added file: http://bugs.python.org/file18843/doanddont-except.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9608>
_______________________________________


More information about the docs mailing list