summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r--Parser/tokenizer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index fc4afcc..472d417 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -1818,10 +1818,6 @@ tok_get_normal_mode(struct tok_state *tok, tokenizer_mode* current_tok, struct t
/* Skip comment, unless it's a type comment */
if (c == '#') {
- if (INSIDE_FSTRING(tok)) {
- return MAKE_TOKEN(syntaxerror(tok, "f-string expression part cannot include '#'"));
- }
-
const char* p = NULL;
const char *prefix, *type_start;
int current_starting_col_offset;