mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
Minor style adjustments
This commit is contained in:
parent
db12d15e08
commit
568867c80a
5 changed files with 27 additions and 31 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue