This improves the TOC display of the generated differences section. Signed-off-by: Jeff Epler <jepler@gmail.com>
9 lines
344 B
Python
9 lines
344 B
Python
"""
|
|
categories: Core,f-strings
|
|
description: f-strings cannot support expressions that require parsing to resolve unbalanced nested braces and brackets
|
|
cause: MicroPython is optimised for code space.
|
|
workaround: Always use balanced braces and brackets in expressions inside f-strings
|
|
"""
|
|
|
|
print(f'{"hello { world"}')
|
|
print(f'{"hello ] world"}')
|