Files
Pierre-Marie de Rodat 02991cc2b0 Python API: fix bindings when assertions are disabled
Python's -O command-line option disableds the execution of "assert"
statements. In order for the generated Python bindings to work in such a
mode, we need to keep assertion logic only in "assert" statements. This
commit fixes statements that currently don't respect this principle.

Fixes GitHub issue #485
TN: U326-020
2021-03-29 17:43:50 +02:00

10 lines
124 B
Plaintext

main.py: Running...
Diagnostics:
1:1-1:2: Expected 'example', got '{'
Token range:
'{example example'
main.py: Done.
Done