mirror of
https://github.com/zrax/pycdc.git
synced 2026-06-23 11:34:07 +00:00
CRAs
This commit is contained in:
parent
1f07a24451
commit
7af40a779f
6 changed files with 19 additions and 23 deletions
|
|
@ -79,11 +79,3 @@ const char* ASTBlock::type_str() const
|
|||
};
|
||||
return s_type_strings[blktype()];
|
||||
}
|
||||
/* ASTFormattedValue */
|
||||
// This must be a triple quote (''' or """), to handle interpolated string literals containing the opposite quote style.
|
||||
// E.g. f'''{"interpolated "123' literal"}''' -> valid.
|
||||
// E.g. f"""{"interpolated "123' literal"}""" -> valid.
|
||||
// E.g. f'{"interpolated "123' literal"}' -> invalid, unescaped quotes in literal.
|
||||
// E.g. f'{"interpolated \"123\' literal"}' -> invalid, f-string expression does not allow backslash.
|
||||
// NOTE: Nested f-strings not supported.
|
||||
const char* ASTFormattedValue::F_STRING_QUOTE = "'''";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue