Skip to content

Conversation

lstolcman
Copy link

@lstolcman lstolcman commented Mar 31, 2025

Due to changes in python 3.12, invalid escape characters raise SyntaxWarning.

A suggested solution from PEP 257 is to use raw-docstrings, which is applied in this PR:

Use r"""raw triple double quotes""" if you use any backslashes in your docstrings.

Relevant notebook were changed, and nbdev_export was executed to apply changes in python files.

Closes #1304

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@CLAassistant
Copy link

CLAassistant commented Mar 31, 2025

CLA assistant check
All committers have signed the CLA.

@elephaint
Copy link
Contributor

Thanks! I'll have a look

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 this pull request may close these issues.

Python 3.12: SyntaxWarning: invalid escape sequence
3 participants