Skip to content

Commit 9601c41

Browse files
Update python/ql/src/Expressions/IsComparisons.qll
Co-Authored-By: Taus <[email protected]>
1 parent 04951fa commit 9601c41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/ql/src/Expressions/IsComparisons.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ predicate invalid_portable_is_comparison(Compare comp, Cmpop op, ClassValue cls)
120120
)
121121
)
122122
and
123-
// OK to use 'is' when comparing with a member of an enumÏ
123+
// OK to use 'is' when comparing with a member of an enum
124124
not exists(Expr left, Expr right, AstNode origin |
125125
comp.compares(left, op, right) and
126126
enum_member(origin) |
@@ -135,4 +135,3 @@ private predicate enum_member(AstNode obj) {
135135
asgn.getValue() = obj
136136
)
137137
}
138-

0 commit comments

Comments
 (0)