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

Skip to content

Commit 6472588

Browse files
author
alexet
committed
Python: Remove pointless charpred.
1 parent 4d1e4e0 commit 6472588

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ abstract class ConstantObjectInternal extends ObjectInternal {
7373

7474
private abstract class BooleanObjectInternal extends ConstantObjectInternal {
7575

76-
BooleanObjectInternal() {
77-
this = TTrue() or this = TFalse()
78-
}
79-
80-
8176
override ObjectInternal getClass() {
8277
result = TBuiltinClassObject(Builtin::special("bool"))
8378
}

0 commit comments

Comments
 (0)