duplicate-except / W0705#

Message emitted:

Catching previously caught exception type %s

Description:

Used when an except catches a type that was already caught by a previous handler.

Correct code:

try:
    1 / 0
except ZeroDivisionError:
    pass

Problematic code:

try:
    1 / 0
except ZeroDivisionError:
    pass
except ZeroDivisionError:  # [duplicate-except]
    pass

Created by the exceptions checker.