{{ message }}
Commit 5219489
committed
Fix IndexObject.abspath docstring formatting
The original problem where the backslash wasn't included in the
docstring at all was fixed in 7dd2095 (#1725), but the backslash
still did not appear in rendered Sphinx documentation, because it
was also treated as a reStructuredText metacharacter.
Although that can be addressed by adding a further backslash to
escape it, the effect is ambiguous when the docstring is read in
the code. So this just encloses it in a double-backticked code
span instead, which is a somewhat clearer way to show it anyway.1 parent 115451d commit 5219489
1 file changed
Lines changed: 2 additions & 1 deletion

0 commit comments