Closed Neradoc closed 2 years ago
In CP 7.3.0 there are some language fixes to previous syntax errors in f-strings (from MP18). A string like this would not compile prior to 7.3.0:
string = "123456789" print(f"{string[2:6]}")
Note that an MPY file with that code generated with mpy-cross 7.3.0 runs properly on 7.0.0 according to my tests.
In CP 7.3.0 there are some language fixes to previous syntax errors in f-strings (from MP18). A string like this would not compile prior to 7.3.0:
Note that an MPY file with that code generated with mpy-cross 7.3.0 runs properly on 7.0.0 according to my tests.