boschmitt / tweedledum

C++17 Library for analysis, compilation/synthesis, and optimization of quantum circuits
MIT License
97 stars 35 forks source link

fix warnings generated by escape sequence in docstring #171

Closed eendebakpt closed 2 years ago

eendebakpt commented 2 years ago

Description

One of the docstrings contained the text /!\ This function can only parse a _very_ small and simple subset of, which generates a warning DeprecationWarning: invalid escape sequence \. This PR fixes this by making the docstring a raw string.

@boschmitt

Suggested changelog entry:

No entry needed

eendebakpt commented 2 years ago

@boschmitt Could you have a look at the PR please?