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

Skip to content

Commit ba1f3c4

Browse files
committed
Removes obsolete asBuiltin predicate
1 parent 930228a commit ba1f3c4

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,6 @@ class Value extends TObject {
7979
this.(ObjectInternal).isBuiltin()
8080
}
8181

82-
/** INTERNAL -- Do not use */
83-
Builtin asBuiltin() {
84-
this = TBuiltinClassObject(result) or
85-
this = TBuiltinFunctionObject(result) or
86-
this = TBuiltinMethodObject(result) or
87-
this = TBuiltinModuleObject(result) or
88-
this = TBuiltinOpaqueObject(result) or
89-
this = TBuiltinTuple(result)
90-
}
91-
9282
predicate hasLocationInfo(string filepath, int bl, int bc, int el, int ec) {
9383
this.(ObjectInternal).getOrigin().getLocation().hasLocationInfo(filepath, bl, bc, el, ec)
9484
or

0 commit comments

Comments
 (0)