Python: Improve qldoc for ClassValue::getABaseType

Hopefully it is more clear that you can get multiple results from getABaseType
because of multiple inheritance, and not because we are following the chain of
inheritance
This commit is contained in:
Rasmus Wriedt Larsen
2019-10-24 17:04:57 +02:00
parent fc8c1e195a
commit c50d366527

View File

@@ -384,12 +384,12 @@ class ClassValue extends Value {
Types::failedInference(this, reason)
}
/** Gets the nth base class of this class */
/** Gets the nth immediate base type of this class. */
ClassValue getBaseType(int n) {
result = Types::getBase(this, n)
}
/** Gets a base class of this class */
/** Gets an immediate base type of this class. */
ClassValue getABaseType() {
result = Types::getBase(this, _)
}