Skip to content

Fix two docstrings that should have r prefix#3851

Merged
GuySten merged 1 commit intoopenmc-dev:developfrom
paulromano:fix-raw-strings
Mar 5, 2026
Merged

Fix two docstrings that should have r prefix#3851
GuySten merged 1 commit intoopenmc-dev:developfrom
paulromano:fix-raw-strings

Conversation

@paulromano
Copy link
Copy Markdown
Contributor

Description

Two new docstrings from the merge of #3700 have latex notation with slash characters that produce warnings because the docstrings do not have the r prefix (raw string). This PR fixes that to remove these warnings.

Checklist

  • I have performed a self-review of my own code
  • I have run clang-format (version 18) on any C++ source files (if applicable)
  • I have followed the style guidelines for Python source files (if applicable)
  • I have made corresponding changes to the documentation (if applicable)
  • I have added tests that prove my fix is effective or that my feature works (if applicable)

Copy link
Copy Markdown
Contributor

@GuySten GuySten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@GuySten GuySten merged commit dbfd638 into openmc-dev:develop Mar 5, 2026
17 checks passed
@paulromano paulromano deleted the fix-raw-strings branch March 5, 2026 21:59
jon-proximafusion pushed a commit to shimwell/openmc that referenced this pull request Apr 13, 2026
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.

2 participants