blueloveTH 1 год назад
Родитель
Сommit
3caca62f2c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/interpreter/ceval.c

+ 1 - 1
src/interpreter/ceval.c

@@ -1027,7 +1027,7 @@ FrameResult VM__run_top_frame(VM* self) {
                 py_TValue* tmp = c11__at(py_TValue, &frame->co->consts, byte.arg);
                 const char* string = py_tostr(tmp);
                 // TODO: optimize this
-                if(!py_exec(string, "<eval>", EVAL_MODE, frame->module)) goto __ERROR;
+                if(!py_exec(string, "<f-string>", EVAL_MODE, frame->module)) goto __ERROR;
                 PUSH(py_retval());
                 DISPATCH();
             }