Skip to content

fix: use raw docstrings to silence invalid escape sequence SyntaxWarning#348

Open
darkclad wants to merge 1 commit into
PolusAI:mainfrom
darkclad:main-fix-doc
Open

fix: use raw docstrings to silence invalid escape sequence SyntaxWarning#348
darkclad wants to merge 1 commit into
PolusAI:mainfrom
darkclad:main-fix-doc

Conversation

@darkclad

Copy link
Copy Markdown

Several docstrings in Nyxus, Nyxus3D, ImageQuality, and Nested contain \pi and regex examples with . — invalid escape sequences that trigger SyntaxWarning on Python 3.12+. Mark the affected docstrings raw (r") so the backslashes are treated as literal text, with no change to the rendered documentation.

Several docstrings in Nyxus, Nyxus3D, ImageQuality, and Nested contain \pi and regex examples with \. — invalid escape sequences that trigger SyntaxWarning on Python 3.12+. Mark the affected docstrings raw (r") so the backslashes are treated as literal text, with no change to the rendered documentation.

Co-authored-by: Demian Vladi <demian.vladi@axleinfo.com>
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.

1 participant