Update python/ql/src/Functions/IncorrectRaiseInSpecialMethod.qhelp

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
Joe Farebrother
2025-08-27 13:19:55 +01:00
committed by GitHub
parent d8083add3e
commit 5b0beb91d1

View File

@@ -32,7 +32,7 @@ Therefore, if a method is unable to perform the expected operation then its resp
</overview>
<recommendation>
<p>If the method always raises as exception, then if it is intended to be an abstract method, the <code>@abstractmethod</code> decorator should be used.
Otherwise, ensure that the method raises an exception of the correct type, or remove the method if the operation dos not need to be supported.
Otherwise, ensure that the method raises an exception of the correct type, or remove the method if the operation does not need to be supported.
</p>
</recommendation>