Add changenote.+ fix typo

This commit is contained in:
Joe Farebrother
2025-08-19 13:06:41 +01:00
parent 900a5cd9d7
commit 0a83c11f42
2 changed files with 6 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
<overview>
<p> When the signature of a method of a base class and a method of a subclass that overrides it don't match, a call to the base class method
may not be a valid call to the subclass method, and thus raise an exception if an instance of the subclass is passed instead.
If following the Liskov Substitution Principle, in which an instance of a subclass should be usable in every context as though it were a an
If following the Liskov Substitution Principle, in which an instance of a subclass should be usable in every context as though it were an
instance of the base class, this behavior breaks the principle.
</p>

View File

@@ -0,0 +1,5 @@
---
category: minorAnalysis
---
* The `py/inheritance/signature-mismatch` query has been modernized. It produces more precise results and more descriptive alert messages.
* The `py/inheritance/incorrect-overriding-signature` query has been deprecated. Its results have been consolidated into the `py/inheritance/signature-mismatch` query.