Skip to content

Commit 2bbe475

Browse files
committed
Python: Removes obsolete predicate
1 parent e481ddf commit 2bbe475

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

python/ql/src/Exceptions/NotImplemented.qll

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11

22
import python
33

4-
/** Holds if `notimpl` refers to `NotImplemented` or `NotImplemented()` in the `raise` statement */
5-
predicate use_of_not_implemented_in_raise_objectapi(Raise raise, Expr notimpl) {
6-
notimpl.refersTo(Object::notImplemented()) and
7-
(
8-
notimpl = raise.getException() or
9-
notimpl = raise.getException().(Call).getFunc()
10-
)
11-
}
12-
134
/** Holds if `notimpl` refers to `NotImplemented` or `NotImplemented()` in the `raise` statement */
145
predicate use_of_not_implemented_in_raise(Raise raise, Expr notimpl) {
156
notimpl.pointsTo(Value::named("NotImplemented")) and

0 commit comments

Comments
 (0)