Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docspec does not parse raw docstrings #71

Closed
NiklasRosenstein opened this issue Feb 28, 2022 · 0 comments · Fixed by #83
Closed

Docspec does not parse raw docstrings #71

NiklasRosenstein opened this issue Feb 28, 2022 · 0 comments · Fixed by #83
Assignees
Labels
type: bug Something isn't working

Comments

@NiklasRosenstein
Copy link
Owner

Is your feature request related to a problem? Please describe.

If a docstring uses the r modifier, docspec does not parse it.

class Foo:
  r""" Raw docstring. """

Probably applies to f and u as well.

Describe the solution you'd like

Parse the raw docstring. Ideally it would convert the string to the same value that Foo.__doc__ would have in the example above.

Describe alternatives you've considered
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment