You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this. I'm not sure if there's a single "correct" way to address this, but one option would be to update the docstring function to replace every """ with e.g. ''' in the docs prior to emitting the docstring.
I'll take this. Plan is the approach @dicej suggested: escape """ in WIT docs inside docstring() (src/summary.rs) before emitting a Python triple-quoted docstring, plus a WIT fixture that currently SyntaxErrors under python -m py_compile.
Activity
dicej commentedon Jan 30, 2026
Thanks for reporting this. I'm not sure if there's a single "correct" way to address this, but one option would be to update the docstring function to replace every
"""with e.g.'''in the docs prior to emitting the docstring.cestercian commentedon Aug 25, 2026
I'll take this. Plan is the approach @dicej suggested: escape
"""in WIT docs insidedocstring()(src/summary.rs) before emitting a Python triple-quoted docstring, plus a WIT fixture that currentlySyntaxErrors underpython -m py_compile.