Closed muteboy closed 3 years ago
To use reserved Python keywords add an underscore "_"
, e.g. "in_
" or "class_"
, the documentation is here: https://ezdxf.mozman.at/docs/tutorials/text.html#new-text-style
btw: inner dashes "-"
have to be replaced by underscore "_"
too
I see, thanks very much. Is that a standard Python thing? If so, shall I delete this issue? It's not related to svgwrite.
Windows 10, Python 3.6.5, VSCode I'm trying to create a filter. Here's the required code:
But when run, it gives a syntax error at the "in" keyword in the second line. My code editor highlights "in" as if it were a reserved word. Am I doing something wrong?