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

SyntaxWarning in Python 3.12 invalid escape sequence '\s' #410

Closed
maresb opened this issue Sep 16, 2024 · 0 comments · Fixed by #414
Closed

SyntaxWarning in Python 3.12 invalid escape sequence '\s' #410

maresb opened this issue Sep 16, 2024 · 0 comments · Fixed by #414
Assignees

Comments

@maresb
Copy link
Contributor

maresb commented Sep 16, 2024

I think you need to make the docstrings raw, i.e. replace the opening quote """ with r""".

~/repos/CausalPy/causalpy/pymc_models.py:187: SyntaxWarning: invalid escape sequence '\s'
  """
~/repos/CausalPy/causalpy/pymc_models.py:233: SyntaxWarning: invalid escape sequence '\s'
  """
~/repos/CausalPy/causalpy/pymc_models.py:426: SyntaxWarning: invalid escape sequence '\s'
  """
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants