rspec/rules/S5708/python/rule.adoc
2020-12-21 15:38:52 +01:00

12 lines
397 B
Plaintext

include::../noncompliant.adoc[]
include::../compliant.adoc[]
== See
* Python documentation - https://docs.python.org/3/tutorial/errors.html[Errors and Exceptions]
* Python documentation - https://docs.python.org/3/reference/compound_stmts.html#except[the `+try+` statement]
* https://www.python.org/dev/peps/pep-0352/#exception-hierarchy-changes[PEP 352 - Required Superclass for Exceptions]