Skip to content

Commit 2c6b2df

Browse files
Update python/ql/src/Classes/SubclassShadowing/SubclassShadowing.qhelp
Co-authored-by: Taus <[email protected]>
1 parent 5e09c1d commit 2c6b2df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/Classes/SubclassShadowing/SubclassShadowing.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<qhelp>
55
<overview>
66
<p>
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
7+
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
88
prioritized during attribute lookup, shadowing the method.
99

1010
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

0 commit comments

Comments
 (0)