Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 04e3683

Browse files
authored
Merge pull request #2194 from RasmusWL/python-improve-getbasetype-qldoc
Python: Improve qldoc for ClassValue::getABaseType
2 parents 0ffcf9c + c50d366 commit 04e3683

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python/ql/src/semmle/python/objects/ObjectAPI.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,12 +389,12 @@ class ClassValue extends Value {
389389
Types::failedInference(this, reason)
390390
}
391391

392-
/** Gets the nth base class of this class */
392+
/** Gets the nth immediate base type of this class. */
393393
ClassValue getBaseType(int n) {
394394
result = Types::getBase(this, n)
395395
}
396396

397-
/** Gets a base class of this class */
397+
/** Gets an immediate base type of this class. */
398398
ClassValue getABaseType() {
399399
result = Types::getBase(this, _)
400400
}

0 commit comments

Comments
 (0)