PyDoc: correct use of single back-ticks

This commit is contained in:
Campbell Barton
2024-11-03 19:18:34 +11:00
parent 901359abf7
commit b00550916c
23 changed files with 52 additions and 50 deletions

View File

@@ -469,7 +469,7 @@ class edit_generators:
class sizeof_fixed_array(EditGenerator):
"""
Use fixed size array syntax with `sizeof`:
Use fixed size array syntax with ``sizeof``:
Replace:
sizeof(float) * 4 * 4
@@ -934,7 +934,7 @@ class edit_generators:
class use_const_vars(EditGenerator):
"""
Use `const` where possible:
Use ``const`` where possible:
Replace:
float abc[3] = {0, 1, 2};
@@ -1662,7 +1662,7 @@ def test_edit(
verbose_edit_actions: bool,
) -> bool:
"""
Return true if `data_test` has the same object output as `data`.
Return true if ``data_test`` has the same object output as ``data``.
"""
if os.path.exists(output):
os.remove(output)