Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Str
1 parent 4101676 commit bde4783Copy full SHA for bde4783
1 file changed
python/ql/lib/semmle/python/Exprs.qll
@@ -616,8 +616,11 @@ private string non_byte_prefix() {
616
not result.charAt(_) in ["b", "B"]
617
}
618
619
+/** A string constant. This is a placeholder class -- use `StrConst` instead. */
620
+class Str extends Str_ { }
621
+
622
/** A string constant. */
-class StrConst extends Str_, ImmutableLiteral {
623
+class StrConst extends Str, ImmutableLiteral {
624
/* syntax: "hello" */
625
predicate isUnicode() {
626
this.getPrefix() = unicode_prefix()
0 commit comments