We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4059a99 commit 9338d21Copy full SHA for 9338d21
python/ql/src/semmle/python/objects/ObjectAPI.qll
@@ -434,10 +434,7 @@ class ClassValue extends Value {
434
)
435
}
436
437
- /** Holds if this class is a mapping.
438
- *
439
- * This is an attempt to translate ClassObject::isMapping()
440
- */
+ /** Holds if this class is a mapping. */
441
predicate isMapping() {
442
this.hasAttribute("__getitem__")
443
and
0 commit comments