swansonk14 / typed-argument-parser

Typed argument parser for Python
MIT License
507 stars 40 forks source link

Escaped characters in docstring are over-escaped by the tokenizer #97

Closed martinjm97 closed 2 months ago

martinjm97 commented 1 year ago

The branch quote-docstrings has a testcase that shows that \" is tokenized as \\\" by the tokenizer library. The branch also contains preliminary attempts to fix this issue.

swansonk14 commented 2 months ago

This is fixed here: https://github.com/swansonk14/typed-argument-parser/pull/148