We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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