Skip to content

Commit d7eadec

Browse files
committed
Add a parallel comment
1 parent 23988e8 commit d7eadec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Parser/action_helpers.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,6 +1887,7 @@ _PyPegen_concatenate_strings(Parser *p, asdl_expr_seq *strings,
18871887
return NULL;
18881888
}
18891889

1890+
// Cannot mix strings/f-strings and t-strings
18901891
if ((unicode_string_found || f_string_found) && t_string_found) {
18911892
RAISE_SYNTAX_ERROR("cannot mix str and Template literals");
18921893
return NULL;

0 commit comments

Comments
 (0)