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
StrConst
1 parent bde4783 commit 1c15fc5Copy full SHA for 1c15fc5
1 file changed
python/ql/lib/semmle/python/Exprs.qll
@@ -617,10 +617,10 @@ private string non_byte_prefix() {
617
}
618
619
/** A string constant. This is a placeholder class -- use `StrConst` instead. */
620
-class Str extends Str_ { }
+class Str = StrConst;
621
622
/** A string constant. */
623
-class StrConst extends Str, ImmutableLiteral {
+class StrConst extends Str_, ImmutableLiteral {
624
/* syntax: "hello" */
625
predicate isUnicode() {
626
this.getPrefix() = unicode_prefix()
0 commit comments