From 2c6b2df7cc2e0049eac9bda1f18e8b7da1428d67 Mon Sep 17 00:00:00 2001 From: Joe Farebrother Date: Wed, 27 Aug 2025 13:20:54 +0100 Subject: [PATCH] Update python/ql/src/Classes/SubclassShadowing/SubclassShadowing.qhelp Co-authored-by: Taus --- python/ql/src/Classes/SubclassShadowing/SubclassShadowing.qhelp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ql/src/Classes/SubclassShadowing/SubclassShadowing.qhelp b/python/ql/src/Classes/SubclassShadowing/SubclassShadowing.qhelp index 5345d2c9178..b45938cc28d 100644 --- a/python/ql/src/Classes/SubclassShadowing/SubclassShadowing.qhelp +++ b/python/ql/src/Classes/SubclassShadowing/SubclassShadowing.qhelp @@ -4,7 +4,7 @@

-When an object has an attribute that shares the same name a method on the object's class (or another class attribute), the instance attribute is +When an object has an attribute that shares its name with a method on the object's class (or another class attribute), the instance attribute is prioritized during attribute lookup, shadowing the method. If a method on a subclass is shadowed by an attribute on a superclass in this way, this may lead to unexpected results or errors, as this