PyDoc: correct use of single back-ticks
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user