Skip to content

Commit 45910b9

Browse files
Merge remote-tracking branch 'origin/python-qual-subclass-shadow' into python-qual-subclass-shadow
2 parents c6ababd + 2c6b2df commit 45910b9

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)