forked from numba/numba
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CUDA stubs docstring: Replace illegal escape sequence
The escape sequence `\|` was added to the documentation for `or_` to prevent Sphinx interpreting the pipe as the start of an inline substitution start string, but this is an illegal escape sequence that causes a warning, due to: python/cpython#77093 This causes further issues for tests that treat warnings as errors, see e.g.: numba#8095 This commit resolves the issue by rewriting the expression as inline code, and rewriting all other expressions in the docstrings for atomics as inline code for consistency.
- Loading branch information
Showing
1 changed file
with
19 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters