File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
python/ql/src/semmle/python Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ class Dict extends Dict_ {
502502 result = this .getAValue ( ) or result = this .getAKey ( )
503503 }
504504
505- AstNode getAChildNode ( ) {
505+ override AstNode getAChildNode ( ) {
506506 result = this .getAnItem ( )
507507 }
508508
Original file line number Diff line number Diff line change @@ -1625,7 +1625,7 @@ module PointsTo {
16251625 context .isRuntime ( ) and
16261626 exists ( ControlFlowNode param |
16271627 param = def .getDefiningNode ( ) |
1628- varargs_points_to ( param , cls ) and value = theEmptyTupleObject ( ) and origin = param
1628+ varargs_points_to ( param , cls ) and value = TupleObject :: empty ( ) and origin = param
16291629 or
16301630 varargs_points_to ( param , cls ) and value = param and origin = param
16311631 or
Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ class ClassObject extends Object {
385385 result .getFunction ( ) .refersTo ( this )
386386 }
387387
388- predicate notClass ( ) {
388+ override predicate notClass ( ) {
389389 none ( )
390390 }
391391
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ class Object extends @py_object {
130130 or
131131 this = theFalseObject ( ) and result = false
132132 or
133- this = theEmptyTupleObject ( ) and result = false
133+ this = TupleObject :: empty ( ) and result = false
134134 or
135135 exists ( Tuple t | t = this .getOrigin ( ) |
136136 exists ( t .getAnElt ( ) ) and result = true
You can’t perform that action at this time.
0 commit comments