Skip to content

Commit c1ba134

Browse files
committed
Python: ObjAPI to ValAPI: WrongNumArgsInCall: ObjectAPI.qll: Adds doc for getAnInferredType
1 parent 16eedf9 commit c1ba134

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,8 @@ abstract class FunctionValue extends CallableValue {
621621
bm.getFunction() = this
622622
)
623623
}
624+
625+
/** Gets a class that this function may return */
624626
abstract ClassValue getAnInferredReturnType();
625627
}
626628

0 commit comments

Comments
 (0)