mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
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:
@@ -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, _)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user