File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -474,9 +474,8 @@ Exceptions checker Messages
474
474
:raising-bad-type (E0702): *Raising %s while only classes or instances are allowed *
475
475
Used when something which is neither a class nor an instance is raised (i.e.
476
476
a `TypeError ` will be raised).
477
- :raising-non-exception (E0710): *Raising a new style class which doesn't inherit from BaseException *
478
- Used when a new style class which doesn't inherit from BaseException is
479
- raised.
477
+ :raising-non-exception (E0710): *Raising a class which doesn't inherit from BaseException *
478
+ Used when a class which doesn't inherit from BaseException is raised.
480
479
:misplaced-bare-raise (E0704): *The raise statement is not inside an except clause *
481
480
Used when a bare raise is not used inside an except clause. This generates an
482
481
error, since there are no active exceptions to be reraised. An exception to
You can’t perform that action at this time.
0 commit comments