Skip to content

Commit ededf77

Browse files
committed
update rst for document update
1 parent b372a3f commit ededf77

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/user_guide/checkers/features.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,8 @@ Exceptions checker Messages
474474
:raising-bad-type (E0702): *Raising %s while only classes or instances are allowed*
475475
Used when something which is neither a class nor an instance is raised (i.e.
476476
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.
480479
:misplaced-bare-raise (E0704): *The raise statement is not inside an except clause*
481480
Used when a bare raise is not used inside an except clause. This generates an
482481
error, since there are no active exceptions to be reraised. An exception to

0 commit comments

Comments
 (0)