File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/ql/src/semmle/python/objects Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -723,7 +723,7 @@ class PythonFunctionValue extends FunctionValue {
723
723
ControlFlowNode getAReturnedNode ( ) { result = this .getScope ( ) .getAReturnValueFlowNode ( ) }
724
724
725
725
override ClassValue getARaisedType ( ) { scope_raises ( result , this .getScope ( ) ) }
726
-
726
+
727
727
override ClassValue getAnInferredReturnType ( ) {
728
728
/* We have to do a special version of this because builtin functions have no
729
729
* explicit return nodes that we can query and get the class of.
@@ -779,7 +779,7 @@ class BuiltinMethodValue extends FunctionValue {
779
779
/* Information is unavailable for C code in general */
780
780
none ( )
781
781
}
782
-
782
+
783
783
override ClassValue getAnInferredReturnType ( ) {
784
784
result = TBuiltinClassObject ( this .( BuiltinMethodObjectInternal ) .getReturnType ( ) )
785
785
}
You can’t perform that action at this time.
0 commit comments