Minor style adjustments

This commit is contained in:
Michael Hansen
2020-10-20 21:08:02 -07:00
parent db12d15e08
commit 568867c80a
5 changed files with 27 additions and 31 deletions

View File

@@ -103,15 +103,13 @@ void OutputString(PycRef<PycString> str, char prefix, bool triple, FILE* F, cons
while (len--) {
if (*ch == '\'') {
useQuotes = true;
}
else if (*ch == '"') {
} else if (*ch == '"') {
useQuotes = false;
break;
}
ch++;
}
}
else {
} else {
useQuotes = parent_f_string_quote[0] == '"';
}
ch = str->value();