Python: Add missing QLDoc for isUnicode

This commit is contained in:
Taus
2024-04-22 12:08:53 +00:00
parent bab461ffd1
commit 81246cd41a

View File

@@ -627,6 +627,10 @@ deprecated class StrConst = StringLiteral;
/** A string constant. */
class StringLiteral extends Str_, ImmutableLiteral {
/* syntax: "hello" */
/**
* Holds if this string is a unicode string, either by default (e.g. if Python 3), or with an
* explicit prefix.
*/
predicate isUnicode() {
this.getPrefix() = unicode_prefix()
or