Python: Avoid multiple results for toString

This commit is contained in:
Rasmus Lerchedahl Petersen
2021-06-30 14:39:49 +02:00
parent 72986e1e28
commit 651f8abba0
8 changed files with 4 additions and 26 deletions

View File

@@ -121,12 +121,6 @@ deprecated string mode_from_mode_object(Value obj) {
abstract class RegexString extends Expr {
RegexString() { (this instanceof Bytes or this instanceof Unicode) }
override string toString() {
result = this.(Bytes).getText()
or
result = this.(Unicode).getText()
}
/**
* Helper predicate for `char_set_start(int start, int end)`.
*