Update python/ql/src/Exceptions/NotImplementedIsNotAnException.qhelp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Joe Farebrother
2025-07-17 22:08:01 +01:00
committed by GitHub
parent 57f1d07b2b
commit f2dd96ecf4

View File

@@ -16,7 +16,7 @@ Code that is not intended to be called should raise <code>NotImplementedError</c
</overview>
<recommendation>
<p>If a <code>NotImplementedError</code> is intended to be raised, replace the use of <code>NotImplemented</code>
with that. If <code>NotImplemented</code> is intended to be returned rather than raised, replace the <code>raise</code> with <code> return NotImplemented</code>
with that. If <code>NotImplemented</code> is intended to be returned rather than raised, replace the <code>raise</code> with <code>return NotImplemented</code>
</p>
</recommendation>
<example>